Interface GraphQL

  • All Known Implementing Classes:
    DefaultGraphQL

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

    Since:
    6.12.0
    • Method Detail

      • 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