Skip to content

Conversation

@ptwales
Copy link
Contributor

@ptwales ptwales commented Jan 27, 2020

If I have a file Foo.tmpl which defines the type Foo: {...}, codegen gives it
a json encoder called just jsonEncoder, no suffix. But if you define another
type Bar: f: Foo } in the same file, when it tries to encode f it will assume
it needs to use a jsonEncoderFoo and the generated scala won't compile.

Philip Wales added 2 commits January 27, 2020 14:53
This was fixed with external references but not when internally
referencing the primary class
@ptwales ptwales merged commit 6b5dc9d into ccap:master Jan 28, 2020
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