Closed nfroidure closed 2 years ago
@Oupsla for the GraphQL changes, there is 2 things to check:
GRAPHQL_SERVER_OPTIONS
,That said, cannot merge right now since waiting for:
../../node_modules/apollo-server-core/dist/types.d.ts:3:50 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@graphql-tools/schema")' call instead.
3 import type { IExecutableSchemaDefinition } from '@graphql-tools/schema';
The new TypeScript types are leading to problems with sub libraries. Also had to update the GraphQL schemas.
BREAKING CHANGE: Updated apollo-server to the latest major version. It led to some changes in the way directives are provided into GraphQL fragments.
fix #121