chore: prod schema file change

This commit is contained in:
Anthony Potdevin 2022-07-28 10:11:07 -05:00
parent 3f52833bcf
commit 2b036ab39a
No known key found for this signature in database
GPG key ID: 4403F1DFBE779457

View file

@ -59,7 +59,7 @@ export type JwtObjectType = {
driver: ApolloDriver,
inject: [ConfigService],
useFactory: (config: ConfigService) => ({
autoSchemaFile: 'schema.gql',
autoSchemaFile: config.get('isProduction') ? true : 'schema.gql',
sortSchema: true,
playground: config.get('playground'),
introspection: config.get('playground'),