Describe the bug
Error in configuration when using disableFederationDirectiveAndScalarInjection: true:
**To Reproduce**
```typescript
const config: CodegenConfig = {
importExtension: '.js',
hooks: {
afterAllFileWrite: ['prettier --write']
},
generates: {
'src/gql': defineConfig({
mode: 'modules',
disableFederationDirectiveAndScalarInjection: true,
typesPluginsConfig: {
nonOptionalTypename: false,
useIndexSignature: true,
federation: true,
disableFederationDirectiveAndScalarInjection: true,
}
})
}
}
Expected behavior
This is a configuration option of typescript-resolvers plugin to support federation v2 and avoid duplicate type declarations during validation.
I would expect that it is recognized and allowed in the configuration passed to defineconfig.typesPluingsConfig
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
- OS: [e.g. MacOS, Windows, Linux]
- OS Version:
- Package name and version:
Additional context
Add any other context about the problem here.
Describe the bug
Error in configuration when using
disableFederationDirectiveAndScalarInjection: true:Expected behavior
This is a configuration option of typescript-resolvers plugin to support federation v2 and avoid duplicate type declarations during validation.
I would expect that it is recognized and allowed in the configuration passed to
defineconfig.typesPluingsConfigScreenshots
If applicable, add screenshots to help explain your problem.
Versions
Additional context
Add any other context about the problem here.