Jean-Sébastien Herbaux 2b715a6ee9
V4/graphql configuration (#10896)
* Use a scalar to register the i18n locale arg

* Remove useless files & comments

* Use custom config for apollo server & the pagination (better handling of pagination)

* Fix missing strapi variable being transmitted to wrapResolvers/parseMiddlewares

* PR review comments
2021-09-07 11:23:49 +02:00

25 lines
377 B
JavaScript

'use strict';
module.exports = () => ({
graphql: {
enabled: true,
config: {
endpoint: '/graphql',
defaultLimit: 25,
maxLimit: 100,
apolloServer: {
tracing: true,
},
},
},
myplugin: {
enabled: true,
resolve: `./plugins/myplugin`, // From the root of the project
config: {
testConf: 3,
},
},
});