Skip to main content

Apollo Inversify (Core)

The @inversifyjs/apollo-core package provides core functionality for Inversify Apollo integration.

InversifyApolloProvider

InversifyApolloProvider is a service that provides access to the Apollo Server instance.

export const inversifyApolloProviderServiceIdentifier = Symbol.for('InversifyApolloProvider');

export interface InversifyApolloProvider<TServer> {
readonly apolloServer: ApolloServer<any>;
readonly server: TServer;
}