Skip to content

Rewrite Scala codegen to handle all data as traits#686

Merged
shadaj merged 15 commits intomasterfrom
scalajs-data-rewrite
Jan 10, 2019
Merged

Rewrite Scala codegen to handle all data as traits#686
shadaj merged 15 commits intomasterfrom
scalajs-data-rewrite

Conversation

@shadaj
Copy link
Copy Markdown
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