graphene-django/graphene_django
Alisson Patricio 98825f9a0d
Remove default output fields from SerializerMutation
I found a little annoying that when we use a SerializerMutation all fields in the Serializer, used mostly for the Input, also gets added in the Output. 

The best reason to use a SerializerMutation is for the input validations that DRF brings to the table, the Output is very easy to set and most of the times we want to return our own ObjectType, not all fields used as the input.

What you guys think?
2023-08-22 04:01:55 +02:00
..
debug Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00
filter fix: empty list is not an empty value for list filters even when a custom filtering method is provided (#1450) 2023-08-11 23:24:58 +08:00
forms Miscellaneous CI fixes (#1447) 2023-08-09 20:48:42 +03:00
management Miscellaneous CI fixes (#1447) 2023-08-09 20:48:42 +03:00
rest_framework Remove default output fields from SerializerMutation 2023-08-22 04:01:55 +02:00
static/graphene_django Add GraphiQL Explorer plugin (#1397) 2023-05-04 22:06:10 +03:00
templates/graphene Fix graphiql explorer styles by including official CSS, and update local example app for testing (#1418) 2023-06-02 11:48:53 +03:00
tests fix: foreign key nullable and custom resolver (#1446) 2023-08-09 20:28:26 +03:00
utils Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00
__init__.py Update __init__.py 2023-08-10 01:12:15 +03:00
compat.py fix: empty list is not an empty value for list filters even when a custom filtering method is provided (#1450) 2023-08-11 23:24:58 +08:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py fix: foreign key nullable and custom resolver (#1446) 2023-08-09 20:28:26 +03:00
fields.py Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00
registry.py Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00
settings.py Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00
types.py Miscellaneous CI fixes (#1447) 2023-08-09 20:48:42 +03:00
views.py Use ruff in pre-commit (#1441) 2023-08-06 01:47:00 +03:00