Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for default DRF Serializers (fixing wrong model type) #273

Closed
@jarekwg

Description

Split off #270

The most recent version broke support for default DRF serializers for reverse and m2m relations (the wrong model type gets returned).

Although the recommended way is to use serializers supplied by jsonapi, we should try to maintain support for drf serializers so long as it's not too big of a job to do so.

  • Add failing tests (using from rest_framework import serializers vs. from restframework_json_api import serializers
  • Fix breaking change (probably a bug in utils.get_related_resource_type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /