Skip to content

Don't populate a type arg for non generic managers#2314

Merged
flaeppe merged 2 commits intotypeddjango:masterfrom
flaeppe:fix/invalid-manager-type-args
Aug 3, 2024
Merged

Don't populate a type arg for non generic managers#2314
flaeppe merged 2 commits intotypeddjango:masterfrom
flaeppe:fix/invalid-manager-type-args

Conversation

@flaeppe
Copy link
Copy Markdown
Member

@flaeppe flaeppe commented Aug 3, 2024

We probably want a more sophisticated implementation of this to get things right when a type has multiple arguments, specifically bounded, etc. But as a first step, this can at least eliminate the obviously invalid ones.

Related issues

@flaeppe flaeppe requested a review from sobolevn August 3, 2024 10:34
@flaeppe flaeppe merged commit ef501f2 into typeddjango:master Aug 3, 2024
@flaeppe flaeppe deleted the fix/invalid-manager-type-args branch August 3, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants