Interface GraphQL
- All Known Implementing Classes:
DefaultGraphQL
public interface GraphQL
Provides helper methods for implementing a GraphQL API.
- Since:
- 9.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateDynamicType
(String typeName, Map<String, Type> fieldTypes) Create a DynamicType objectgetDynamicTypeFields
(Type type) Get a dynamic type's field names and the field typesboolean
isDynamicType
(Type type) Get whether a type is a 'dynamic type' where the fields are provided at runtime
-
Method Details
-
isDynamicType
Get whether a type is a 'dynamic type' where the fields are provided at runtime -
createDynamicType
Create a DynamicType object -
getDynamicTypeFields
Get a dynamic type's field names and the field types
-