We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb2c0b commit b7e58d6Copy full SHA for b7e58d6
src/core/graphql/driver.ts
@@ -20,7 +20,7 @@ export class Driver extends YogaDriver<'fastify'> {
20
);
21
options.plugins = [
22
...(options.plugins ?? []),
23
- ...discoveredPlugins.map((cls) => cls.discoveredClass.instance),
+ ...new Set(discoveredPlugins.map((cls) => cls.discoveredClass.instance)),
24
];
25
26
await super.start(options);
0 commit comments