We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DRF's ModelSerializer has a fixed mapping for Django model fields. Our custom fields are of course not in there which means they are not identified which can lead to strange and unexpected behavior. https://github.com/encode/django-rest-framework/blob/5e6abfbafebd7eed8ece110b8c32949f88e94e9d/rest_framework/serializers.py#L838-L863
ModelSerializer
I would suggest to add contrib.rest_framework that provides a subclass of the ModelSerializer that adds support all the Salesforce fields.
contrib.rest_framework
The text was updated successfully, but these errors were encountered:
codingjoe
No branches or pull requests
DRF's
ModelSerializer
has a fixed mapping for Django model fields. Our custom fields are of course not in there which means they are not identified which can lead to strange and unexpected behavior.https://github.com/encode/django-rest-framework/blob/5e6abfbafebd7eed8ece110b8c32949f88e94e9d/rest_framework/serializers.py#L838-L863
I would suggest to add
contrib.rest_framework
that provides a subclass of theModelSerializer
that adds support all the Salesforce fields.The text was updated successfully, but these errors were encountered: