-
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
Migration codegen to apollo (documentation and examples) #575
Comments
I'm going to close this issue. Most of codegen's commands have been aliased even if deprecated, and there have been dramatic docs and changelog updates since this issue was created. If there are any specific recommendations, or if someone wants to champion this, I can reopen or handle that appropriately once proposed. |
Hi @JakeDawkins. I would like to second @un33k 's request: I just got the npm warning So based on this (obviously biased) experience I would say that @un33k had a point about some guiding documentation being required --probably changing the UPDATE: |
@geonanorch The readme from the link you provided is almost completely auto-generated, so there's not much we can do to update the anchor to point to an earlier point on the page. The issue with giving before -> after examples in code is that codegen supports such a wide array of use cases, and covering even a few would be challenging. The API for much of codegen should be relatively similar to commands used in the recent past, but if you're coming from a much older version of codegen, there may not be as easy of a migration path as simply changing commands and arguments (as you mentioned). At some point it may be more useful to just setup the codegen again from scratch rather than chasing migration paths. If you have specific questions, I'd love to take a look. You can ask them in the apollo-tooling channel of the [spectrum(https://spectrum.chat/apollo) channel. Really sorry I can't be more helpful here |
@JakeDawkins thank you for answering. Basically we are saying "there is no guidance for migration" and you are saying "take the pain". Fair enough. That the anchors for documentation cannot be changed easily, I can understand too --the doc tree looks like a maze to me, no idea how it is built. Still it seems to me that at least the current documentation stand should refer to the new tooling, not to the old |
Ohh, I wasn't aware that was still there 🙈 Thanks for the heads up @geonanorch! |
It's still referencing And if anyone has found a guide on how to generate the same kinds of type names as |
[ x ] docs
It would be great to have a before and after examples for helping to migrate from codegen to apollo cli.
The current readme is very inadequate at this moment.
The text was updated successfully, but these errors were encountered: