Skip to content
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

Swift Codegen: Input Objects + Updated Types #1194

Merged
merged 24 commits into from
May 7, 2020
Merged

Conversation

designatednerd
Copy link
Contributor

@designatednerd designatednerd commented May 6, 2020

In This PR:

  • Switches ASTForthcomingVariableType to be the final version, ASTVariableType.
  • Updates existing code for changes to the JSON format
  • Adds a new ApolloCore library for types that need to be shared between the main lib and the codegen lib
  • Adds a GraphQLOptional type to the core library and uses it within the updated code generation
  • Actually generates code for input objects
  • Adds documentation to initializer structs

@designatednerd designatednerd marked this pull request as ready for review May 6, 2020 23:03
@designatednerd
Copy link
Contributor Author

(Note that a huge chunk of the changeset here is changes to API.json caused by updates to the CLI)

@designatednerd designatednerd merged commit 09d963f into master May 7, 2020
@designatednerd designatednerd deleted the add/input-objects branch May 7, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant