We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3ae420 commit b5e0d04Copy full SHA for b5e0d04
rest_framework_json_api/serializers.py
@@ -352,5 +352,5 @@ def to_internal_value(self, data):
352
expected_types=', '.join(expected_types), received_type=received_type))
353
serializer_class = self.get_polymorphic_serializer_for_type(received_type)
354
self.__class__ = serializer_class
355
- return serializer_class(data, context=self.context,
+ return serializer_class(self.instance, data, context=self.context,
356
partial=self.partial).to_internal_value(data)
0 commit comments