@Test void testRequirements() { assertThrows(SchemaProblem.class, () -> Federation.transform(productSDL).build()); assertThrows(SchemaProblem.class, () -> Federation.transform(productSDL).resolveEntityType(env -> null).build()); assertThrows(SchemaProblem.class, () -> Federation.transform(productSDL).fetchEntities(env -> null).build()); }
@NotNull public static SchemaTransformer transform(final GraphQLSchema schema) { return new SchemaTransformer(schema); }
Federation { @NotNull public static SchemaTransformer transform(final GraphQLSchema schema) { return new SchemaTransformer(schema); } }
Federation { @NotNull public static SchemaTransformer transform(final GraphQLSchema schema) { return new SchemaTransformer(schema); } private  Federation(); }
Federation { @NotNull public static SchemaTransformer transform(final GraphQLSchema schema) { return new SchemaTransformer(schema); } private  Federation(); @NotNull static SchemaTransformer transform(final GraphQLSchema schema); static SchemaTransformer transform(final TypeDefinitionRegistry typeRegistry, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final TypeDefinitionRegistry typeRegistry); static SchemaTransformer transform(final String sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final Reader sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final File sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final String sdl); static SchemaTransformer transform(final Reader sdl); static SchemaTransformer transform(final File sdl); }
Federation { @NotNull public static SchemaTransformer transform(final GraphQLSchema schema) { return new SchemaTransformer(schema); } private  Federation(); @NotNull static SchemaTransformer transform(final GraphQLSchema schema); static SchemaTransformer transform(final TypeDefinitionRegistry typeRegistry, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final TypeDefinitionRegistry typeRegistry); static SchemaTransformer transform(final String sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final Reader sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final File sdl, final RuntimeWiring runtimeWiring); static SchemaTransformer transform(final String sdl); static SchemaTransformer transform(final Reader sdl); static SchemaTransformer transform(final File sdl);  }