django-rest-framework-json-api icon indicating copy to clipboard operation
django-rest-framework-json-api copied to clipboard

Support StringRelatedField()

Open Jer-Pha opened this issue 8 months ago • 0 comments

Description of feature request

StringRelatedField is not currently supported by DJA. The current workaround is overwriting get_resource_id in a custom ResourceRelatedField.

Checklist

  • [x] Raised initially as discussion #1234
  • [x] This cannot be dealt with as a third party library. (We prefer new functionality to be in the form of third party libraries where feasible.)
  • [x] I have reduced the issue to the simplest possible case.

Jer-Pha avatar Jun 18 '24 20:06 Jer-Pha