@groovy.transform.CompileStatic @groovy.transform.InheritConstructors class SingleEntityDataFetcher<T> extends DefaultGormDataFetcher<T> implements ReadingGormDataFetcher
A class for querying a single entity with GraphQL
T
- The domain returnType to queryConstructor and description |
---|
SingleEntityDataFetcher
() |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
get(graphql.schema.DataFetchingEnvironment environment) |
|
boolean |
supports(GraphQLDataFetcherType type) |