Open iamthad opened 8 months ago
I originally added the BigAutoField
support. This was definitely missed so thanks! LGTM
I realized today, that in the spirit of https://xkcd.com/1172/, this will be a breaking change for those who were relying on the old behavior. Their APIs will start requiring global IDs on ID filters instead of integers.
How should this be addressed? Maybe a note in the changelog about how to restore the old behavior would be sufficient?
AutoField
is set up to useGlobalIDFilter
, butBigAutoField
andSmallAutoField
are not.This PR adds them to
GRAPHENE_FILTER_SET_OVERRIDES
, associating them with the filter.It also removes some conditional logic around
SmallAutoField
that was introduced in #1212 becauseSmallAutoField
was introduced in Django 3.0 and this project now requires a minimum Django version of 3.2.