All Known Implementing Classes:
DefaultGraphQL

public interface GraphQL
Provides helper methods for implementing a GraphQL API.

Since:
9.0
  • Method Details

    • isDynamicType

      boolean isDynamicType(Type type)
      Get whether a type is a 'dynamic type' where the fields are provided at runtime
    • createDynamicType

      Type createDynamicType(String typeName, Map<String,Type> fieldTypes)
      Create a DynamicType object
    • getDynamicTypeFields

      Map<String,Type> getDynamicTypeFields(Type type)
      Get a dynamic type's field names and the field types