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

Feature: adds generics support to the ModelQueryBuilder #13

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

JasonTheAdams
Copy link
Contributor

The ModelQueryBuilder currently assumes that all model instances being returned are the Model class itself. This PR adds support for generics so things like @return ModelQueryBuilder<MyModel> are supported. This addresses issues from static analysis.

@JasonTheAdams JasonTheAdams merged commit bc0b1a4 into main Sep 26, 2024
1 check passed
@JasonTheAdams JasonTheAdams deleted the feature/model-query-builder-generics branch September 26, 2024 17:59
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