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

Failing test for macro with classes in a different file #506

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martinw-ct
Copy link
Contributor

In Sphere I discovered the macro doesn't work across files 🤔

For now just a failing test to demonstrate the issue, perhaps I'll dig into it on a tech day to fix it.

Specifically it's not correctly detecting the subtypes

[info] /Users/martinwelgemoed/commercetools/sphere-scala-libs/json/json-derivation/src/test/scala/io/sphere/json/MultiFileJSONSpec.scala:12:40: io.sphere.json.AnotherFileExample.Bug Subtypes: class Spider
[info]       implicit val bugJSON = deriveJSON[Bug]

@martinw-ct martinw-ct changed the title Failing test for the issue Failing test for macro with classes in a different file Jun 22, 2023
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