Package 

Class ToFederatedSchemaKt

    • Method Summary

      Modifier and Type Method Description
      final static GraphQLSchema toFederatedSchema(FederatedSchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions) 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
    • Method Detail

      • toFederatedSchema

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

        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