graphql-code-generator-community
graphql-code-generator-community copied to clipboard
Doc fix for an extra apostrophe in the code example for additionalDI (apollo-angular config.)
Which packages are impacted by your issue?
@graphql-codegen/typescript-apollo-angular
Describe the bug
The line currently reads
additionalDI: ['testService: TestService', 'testService1': TestService1']
Based on the type of string[]
for additionalDI
, I believe that the apostrophe after testService1 should be removed.
Your Example Website or App
https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-apollo-angular#usage-examples-9
Steps to Reproduce the Bug or Issue
- Go to https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-apollo-angular#usage-examples-9
- Observe the code example for additionalDI
Expected behavior
As a user, I expected to see valid syntax, but I see something that produces a syntax error.
Screenshots or Videos
No response
Platform
Web
Codegen Config File
No response
Additional context
The link "Edit this page on Github" is still leading to the original repository: https://github.com/dotansimha/graphql-code-generator, rather than this one. A search of the git log showed the code had been moved here.
The list of possible options on this repository does not include documentation fixes, so I'm submitting this as a "bug."