You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meta fields though does not get filtered based on this properly. If the field is excluded, it will be rendered with a null value (since the actual value is not provided by DRF).
Description of the Bug Report
DRF supports dynamically changing the fields returned per request. This works well (despite the performance issues, etc)
Meta fields though does not get filtered based on this properly. If the field is excluded, it will be rendered with a null value (since the actual value is not provided by DRF).
My expectation is that it does not render at all.
Culprits:
django-rest-framework-json-api/rest_framework_json_api/serializers.py
Lines 305 to 318 in e9ca8d9
django-rest-framework-json-api/rest_framework_json_api/renderers.py
Lines 411 to 425 in e9ca8d9
Checklist
The text was updated successfully, but these errors were encountered: