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

Circe - fully qualify references within component classes #2051

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jonnty
Copy link

@Jonnty Jonnty commented Nov 11, 2024

Previously, when a property was named the same as its component, references to the component class and property class conflicted, causing errors. Fully qualifying the references to each should prevent this from happening.

A regression test covering a minimal failing case is included.

Fixes issue #2050

@github-actions github-actions bot added the scala-support Pertains to guardrail-scala-support label Nov 11, 2024
Previously, when a property was named the same as its component, references to the component class and property class conflicted, causing errors. Fully qualifying the references to each should prevent this from happening.

A regression test covering a minimal failing case is included.

Fixes issue guardrail-dev#2050
@Jonnty
Copy link
Author

Jonnty commented Nov 11, 2024

Just realised I didn't include the updated TypesTest expectations - added that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scala-support Pertains to guardrail-scala-support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant