Commit fef80b2
authored
Rewrite Scala codegen to handle all data as traits (#686)
* 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 master1 parent 71a2583 commit fef80b2
10 files changed
Lines changed: 812 additions & 619 deletions
File tree
- packages
- apollo-codegen-scala/src
- __tests__
- __snapshots__
- apollo/src/commands/client/__tests__/__snapshots__
Lines changed: 377 additions & 196 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 21 deletions
This file was deleted.
0 commit comments