GraphQLResolver

Trait GraphQLResolver 

Source
pub trait GraphQLResolver {
    // Required method
    fn resolve(
        &self,
        field: &str,
        args: &HashMap<String, Value>,
    ) -> DeviceResult<Value>;
}
Expand description

GraphQL resolver trait

Required Methods§

Source

fn resolve( &self, field: &str, args: &HashMap<String, Value>, ) -> DeviceResult<Value>

Implementors§