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

Generate in Scala 3 macro typeId without type parameters (#694) #702

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

987Nabil
Copy link
Contributor

fixes #694
/claim #694

@987Nabil 987Nabil requested a review from a team as a code owner June 28, 2024 17:52
@987Nabil 987Nabil force-pushed the fix-scala3-macro-generic-name branch 4 times, most recently from b6699e7 to 6676045 Compare June 29, 2024 20:24
@@ -6,7 +6,7 @@ trait SchemaPlatformSpecific {
Schema[String].transformOrFail(
string =>
try {
Right(new java.net.URL(string))
Right(new java.net.URI(string).toURL)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sneaked that one in. The URL constructor is deprecated in Java 21+ and this is the recommended migration

@987Nabil 987Nabil force-pushed the fix-scala3-macro-generic-name branch from 6676045 to 53c87bb Compare July 9, 2024 21:34
@jdegoes jdegoes merged commit 5c8e7eb into zio:main Jul 14, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scala 3 Macro generates invalid typeName
2 participants