Package io.fria.lilo

Interface SchemaSource

All Known Implementing Classes:
DefinedSchemaSource, RemoteSchemaSource

public interface SchemaSource
  • Method Details

    • execute

      @NotNull @NotNull CompletableFuture<graphql.ExecutionResult> execute(@NotNull @NotNull LiloContext liloContext, @NotNull @NotNull GraphQLQuery query, @Nullable @Nullable Object localContext)
    • getName

      @NotNull @NotNull String getName()
    • getRuntimeWiring

      @NotNull @NotNull graphql.schema.idl.RuntimeWiring getRuntimeWiring()
    • getTypeDefinitionRegistry

      @NotNull @NotNull graphql.schema.idl.TypeDefinitionRegistry getTypeDefinitionRegistry()
    • invalidate

      void invalidate()
    • isSchemaNotLoaded

      boolean isSchemaNotLoaded()
    • loadSchema

      @NotNull @NotNull CompletableFuture<SchemaSource> loadSchema(@NotNull @NotNull LiloContext context, @Nullable @Nullable Object localContext)