Micro-backend Apollo Express GraphQL server plugin
shell
npx microbackend plugin add @microbackend/plugin-apollo-server-express
`
Usage
$3
The plugin extends the IMicrobackendConfig from @microbackend/plugin-core
to allow configuring the Apollo Server via the apolloServerExpress property:
`typescript
import { MicrobackendConfig } from "@microbackend/plugin-core";
import gql from "graphql-tag";
export default class Config extends MicrobackendConfig {
get config(): MicrobackendConfig["config"] {
return {
apolloServerExpress: {
/* Apollo Server configurations /
},
};
}
}
``