do resolve for null
This commit is contained in:
parent
a9f462a9f0
commit
80f6224f65
1 changed files with 4 additions and 0 deletions
|
@ -138,6 +138,10 @@ impl GraphQLType for () {
|
|||
fn meta<'r>(_: &(), registry: &mut Registry<'r>) -> MetaType<'r> {
|
||||
registry.build_scalar_type::<Self>(&()).into_meta()
|
||||
}
|
||||
|
||||
fn resolve(&self, _: &(), _: Option<&[Selection]>, _: &Executor<Self::Context>) -> Value {
|
||||
Value::null()
|
||||
}
|
||||
}
|
||||
|
||||
impl FromInputValue for () {
|
||||
|
|
Loading…
Add table
Reference in a new issue