graphene-django/graphene_django/rest_framework
Jonathan Kim b7e4937775
Alias only_fields as fields and exclude_fields as exclude (#691)
* Create new fields and exclude options that are aliased to exclude_fields and only_fields

* Update docs

* Add some checking around fields and exclude definitions

* Add all fields option

* Update docs to include `__all__` option

* Actual order of fields is not stable

* Update docs/queries.rst

Co-Authored-By: Semyon Pupkov <semen.pupkov@gmail.com>

* Fix example code

* Format code

* Start raising PendingDeprecationWarnings for using only_fields and exclude_fields

* Update tests
2019-07-09 14:03:11 +01:00
..
tests Alias only_fields as fields and exclude_fields as exclude (#691) 2019-07-09 14:03:11 +01:00
__init__.py Initial implementation of serializer field converter 2017-06-26 09:19:49 +01:00
models.py Add support for write_only fields in SerializerMutation (#555) 2019-06-09 16:25:34 -07:00
mutation.py Apply camel case converter to field names in DRF errors (#514) 2019-06-25 09:40:29 +01:00
serializer_converter.py Alias only_fields as fields and exclude_fields as exclude (#691) 2019-07-09 14:03:11 +01:00
types.py Fix duplicated ErrorType declaration (#539) 2019-03-31 12:01:43 +01:00