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

Rewrite Scala codegen to handle all data as traits #686

Merged
merged 15 commits into from
Jan 10, 2019
Merged

Conversation

shadaj
Copy link
Contributor

@shadaj shadaj commented Nov 12, 2018

Drastically improves performance and ease of use when working with fragments.

@shadaj shadaj changed the title [WIP] Rewrite Scala codegen to return data as traits Rewrite Scala codegen to handle all data as traits Jan 10, 2019
@shadaj shadaj added 🎉 feature New addition or enhancement to existing solutions breaking and removed breaking labels Jan 10, 2019
@shadaj shadaj merged commit fef80b2 into master Jan 10, 2019
JakeDawkins pushed a commit that referenced this pull request Jan 16, 2019
* Rewrite Scala codegen to return data as traits

* Fix possible types check

* Update unit tests

* Properly handle deep fields inside fragments

* Emit Scala types for variables

* Fix default value

* Fix input tracking

* Fix variables input type

* Use library defined optional types

* Update snapshots

* Update snapshots

* Completely drop case classes from codegen

* Don't hardcode None for OptionalInput

* Minimize diff relative to master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 feature New addition or enhancement to existing solutions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant