Skip to content

Fix generic cardinality discriminator type alias #15

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

Merged
merged 2 commits into from
Apr 16, 2025

Conversation

strohganoff
Copy link
Owner

The generic parameters for the CardinalityDiscriminator type alias wasn't getting picked up by static type checkers / LSP's, and so attributes were showing as inaccessible.

The solution was to persist the type variables used in CardinalityDiscriminator into variables.

@strohganoff strohganoff merged commit 8405877 into main Apr 16, 2025
2 checks passed
@strohganoff strohganoff deleted the fix/generic-cardinal-discriminitor branch April 16, 2025 00:53
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.

1 participant