drf-compound-fields icon indicating copy to clipboard operation
drf-compound-fields copied to clipboard

Doesnt work with drf 3.0

Open aldarund opened this issue 10 years ago • 7 comments

There is no more WritableField in the drf, so it no longer works

aldarund avatar Dec 20 '14 12:12 aldarund

There are a few other changes on top of WritableField that affect this package

  • DRF 3 adds a ListField class that works similar to the one here
  • to_native and from_native were renamed
  • Validation now happens only in to_internal_value

kevin-brown avatar Dec 20 '14 15:12 kevin-brown

I'll be starting a branch shortly to update this library for DRF 3.0. I'll be quite happy to remove the list field, and I'll evaluate the continued need for the dict and list-or-item fields.

estebistec avatar Dec 20 '14 21:12 estebistec

DRF 3.1 (or 3.0.x?) looks like it might also be adding a DictField.

https://github.com/tomchristie/django-rest-framework/pull/2451

It looks like the value of this package (for 3.0+) is fading away...

kevin-brown avatar Jan 23 '15 16:01 kevin-brown

Yup. This does not hurt my feelings :)

estebistec avatar Feb 07 '15 20:02 estebistec

So, it looks like whole package deprecated. Or does it provide some extra abilities over DRF-3.0 ListField and DictField ?

qwiglydee avatar Feb 24 '15 19:02 qwiglydee

Wherever it does I'll be considering pull requests to DRF to close any significant gaps.

estebistec avatar Feb 25 '15 06:02 estebistec

Please see #27

estebistec avatar Apr 05 '15 06:04 estebistec