Package 

Class ToFederatedSchemaKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static GraphQLSchema toFederatedSchema(FederatedSchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions, TopLevelObject schemaObject) Entry point to generate federated graphql schema using reflection on the passed objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • toFederatedSchema

         final static GraphQLSchema toFederatedSchema(FederatedSchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions, TopLevelObject schemaObject)

        Entry point to generate federated graphql schema using reflection on the passed objects.

        Parameters:
        config - federated schema generation configuration
        queries - optional list of TopLevelObject to use for GraphQL queries
        mutations - optional list of TopLevelObject to use for GraphQL mutations
        subscriptions - optional list of TopLevelObject to use for GraphQL subscriptions
        schemaObject - optional TopLevelObject reference to the annotated schema class