We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--no-addTypename
$ yarn apollo client:codegen src --target=typescript --no-addTypename $ /Users/artem/projects/inlens-web/node_modules/.bin/apollo client:codegen src --target=typescript --no-addTypename › Error: Unexpected argument: --no-addTypename
Looking at the code, the reason appears to be that addTypename flag declaration is missing allowNo: true option (or should not default to true):
addTypename
allowNo: true
true
https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts#L47,L50
npm module version: 2.0.9
The text was updated successfully, but these errors were encountered:
addTypename flag should be false by default (apollographql#680)
381245d
By following documentation --addTypename argument should be set to false by default
Resolved in #758
Sorry, something went wrong.
trevor-scheer
No branches or pull requests
Looking at the code, the reason appears to be that
addTypename
flag declaration is missingallowNo: true
option (or should not default totrue
):https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts#L47,L50
npm module version: 2.0.9
The text was updated successfully, but these errors were encountered: