-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New Plugin: Apollo-Android (Java) #1924
Merged
Merged
+12,608
−25
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0c1e83b
to
7f8a3d3
Compare
supports input types changes to the core added basic preset with support for this
cleanup
fixes for list types
added fragments files stub
a2e263d
to
b385eff
Compare
# Conflicts: # .gitignore # lerna.json # packages/graphql-codegen-cli/package.json # packages/graphql-codegen-core/package.json # packages/graphql-codegen-core/src/execute-plugin.ts # packages/plugins/flow/flow/package.json # packages/plugins/flow/operations/package.json # packages/plugins/flow/resolvers/package.json # packages/plugins/java/common/package.json # packages/plugins/java/java/package.json # packages/plugins/java/resolvers/package.json # packages/plugins/other/add/package.json # packages/plugins/other/fragment-matcher/package.json # packages/plugins/other/introspection/package.json # packages/plugins/other/schema-ast/package.json # packages/plugins/other/time/package.json # packages/plugins/other/visitor-plugin-common/package.json # packages/plugins/other/visitor-plugin-common/src/base-resolvers-visitor.ts # packages/plugins/typescript/apollo-angular/package.json # packages/plugins/typescript/compatibility/package.json # packages/plugins/typescript/graphql-files-modules/package.json # packages/plugins/typescript/mongodb/package.json # packages/plugins/typescript/operations/package.json # packages/plugins/typescript/react-apollo/package.json # packages/plugins/typescript/resolvers/package.json # packages/plugins/typescript/stencil-apollo/package.json # packages/plugins/typescript/typescript/package.json # packages/plugins/typescript/urql/package.json # packages/presets/near-operation-file/package.json # packages/utils/config-md-generator/package.json # packages/utils/graphql-codegen-testing/package.json # packages/utils/plugins-helpers/package.json # website/live-demo/package.json # website/package.json # yarn.lock
c8c968c
to
0867915
Compare
fixes for usage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The goal of this PR is to allow developers to use the codegen to generate client-side typings for Apollo-Android.
The output is almost identical to apollo-android, but it's implemented from scratch to allow us to maintain it easily.
The reason for implementing this is the fact that apollo-android Gradle plugin uses a very old version of
apollo-codegen
(0.19), and it's not getting updates recently.Example repo with AppSync here: dotansimha/graphql-codegen-appsync-android-example@b10fc81
TODO:
CustomType
class based on Scalars.Fragments
type