-
Notifications
You must be signed in to change notification settings - Fork 228
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
add filters alias support #378
add filters alias support #378
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## add-filters #378 +/- ##
===============================================
- Coverage 96.37% 94.04% -2.33%
===============================================
Files 9 10 +1
Lines 773 1294 +521
===============================================
+ Hits 745 1217 +472
- Misses 28 77 +49
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
print("got", model_field) | ||
print(repr(model_field)) | ||
print(model_field == 1) | ||
print("with input", field_filters) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can remove in add-filters
branch when we clean things up there
model_field = getattr( | ||
model, input_field.model_attr | ||
) # getattr(model, field) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible for model_field
to be None
here? Looking at L#486 of types.py, couldn't a graphene.InputField
be passed in to a BaseTypeFilter
? Not sure if I understand the scope of this change though.
Manually merged into add_filters |
No description provided.