dabapps / django-rest-framework-serialization-spec

DEPRECATED, see https://github.com/dabapps/django-readers instead
MIT License
11 stars 0 forks source link

A field that should result in a list of IDs works for reverse FK but not for M2M #43

Closed pmg103 closed 4 years ago

pmg103 commented 4 years ago

As a result of https://github.com/dabapps/django-rest-framework-serialization-spec/pull/13 SSM tries to helpfully prefetch the reverse FK but this doesn't work for a M2M relation.

pmg103 commented 4 years ago

After adding a test case for this, it does actually seem to work 🤔