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 annotation filters #66

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

stevelacey
Copy link
Contributor

What's this PR do?

Worf currently errors when it can't introspect a field on the model to work out what validation to apply.

Queryset annotations require an output_field, so that can be used to determine what validation to apply, and then annotated fields can be supported within sort_fields and filter_fields.

Where should the reviewer start?

Why is this important, or what issue does this solve?

What Worf gif best describes this PR or how it makes you feel?

Definition of Done:

  • This PR increases test coverage
  • This PR includes README updates reflecting any new features/improvements to the framework

@stevelacey stevelacey merged commit 91217f3 into master Nov 1, 2021
@stevelacey stevelacey deleted the improvement/support-annotation-filters branch November 1, 2021 10:34
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