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

Support derivation for generic types #123

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Conversation

majk-p
Copy link
Contributor

@majk-p majk-p commented Jan 26, 2024

Due to the mapping to typeSymbol in UnionDerivation macro logic the parametric type got erased, leading to failing derivation for unions like Int | MyType[String]. This PR fixes that by propagating more information down the line for implicit resolution,

@iRevive
Copy link
Owner

iRevive commented Jan 26, 2024

Thanks for the contribution!

@majk-p majk-p requested a review from iRevive January 26, 2024 15:01
@iRevive iRevive merged commit da687ab into iRevive:main Jan 26, 2024
2 checks passed
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.

2 participants