mirror of
https://github.com/strapi/strapi.git
synced 2025-07-13 03:51:54 +00:00

* 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
25 lines
377 B
JavaScript
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,
|
|
},
|
|
},
|
|
});
|