-
Notifications
You must be signed in to change notification settings - Fork 653
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
Apollo Codegen deprecated #1042
Comments
Yes there is such plan, the only what was blocking us apollographql/rover#537. But seems it fixed now |
…n flag isn't specified Compare #537. See apollographql/apollo-kotlin#1042.
Any updates on when this will be released? |
I'm going to look at it right now |
There are still some issues with Apollo code gen module we are trying to resolve. For now there is no big benefit of migrating to new apollo cli |
But it doesn't seems to generate any code anymore |
There is, apparently, a problem with the apollo-tooling:0.19.1 it consumes: The problem we get looks similar to and was fixed with (by updating graphql to version 14): It would be really nice to move to the latest. |
Looks like the Apollo CLI doesn't support generating Java code yet. (As of v2.4.4.) Maybe that's the main issue? Help for apollo client:codegen:
There's a PR: [WIP] add support for java and comment syntax |
Current Gradle plugin implementation generates JSON from GraphQL files and then uses Moshi |
@venik as far as I can tell Moshi is just a JSON parser, not a code generator. It's used by the Gradle plugin only to parse |
Well, it generates from
something java-like
|
@sav007 Any news on this? Just integrated Apollo into my project and also noticed a build warning that seems to be related to this?
|
i have a same problem
Is any other way to implement Apollo into Android? |
Getting the same warning from the CI tool, any news ?
|
apollo-codegen is going away soon: #1482. You can actually already test this in the 1.0.3-SNAPSHOT version. |
Please try latest version with a new code generation engine https://github.com/apollographql/apollo-android/releases/tag/1.1.0 If you see the same issue pls reopen. |
It seems like Apollo Codegen has been deprecated and replaced with Apollo, see:
https://www.npmjs.com/package/apollo-codegen
https://www.npmjs.com/package/apollo
Based on the output, it looks like Apollo Android still uses the deprecated module, are there plans to migrate to Apollo from Apollo Codegen?
Follow up question: If a provided schema.json exists in the appropriate location, is it possible to skip node and apollo-codegen install entirely?
The text was updated successfully, but these errors were encountered: