-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
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
Just updated from Apollo 1.8.3 to 2.16.0, codgen:generate no longer works. #1528
Comments
Hey @jonah-neugass-ck - can you please take a look at our updated scripts in the iOS installation instructions - some of the names of the parameters changed. I think the one throwing you off at the moment is EDIT: Also, for one directory up you need to do |
Awesome, thanks for the help. |
Sure. Please feel free to close this out if those updated instructions work. |
I will, one other question, do you have documentation on how to generate persisted queries with hashed query ids? |
Not directly but take a look at the description on |
Great, thanks! |
So I just upgraded the Apollo tooling from 1.83 to 2.16.0 and my codegen:generate command is no longer working.
This is the command that had been working:
apollo codegen:generate --target=swift --queries="./graphql/**" --schema="./graphql/schema.json" ./graphql-ios/API.swift
Intended outcome:
The intended outcome is that the codgen command works and generates an API.swift file.
Actual outcome:
Here is the error that I get:
How to reproduce the issue:
Run the command above.
Versions
Apollo 2.16.0
The text was updated successfully, but these errors were encountered: