Skip to content

Introduced optional_fields to SerializationMutation #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

rganeyev
Copy link
Contributor

Added optional_fields to SerializationMutation to forcefully mark some fields as optional

@sebslomski
Copy link

Please merge, it's an excellent addition! Thanks!

@zbyte64
Copy link
Collaborator

zbyte64 commented Dec 31, 2020

I don't have any objection to the feature. But please add some tests.

@zbyte64 zbyte64 changed the base branch from master to v2 December 31, 2020 06:38
@rganeyev
Copy link
Contributor Author

@zbyte64, added two tests: when optional_fields is not set and optional_fields meta is set. Please review

Copy link
Collaborator

@zbyte64 zbyte64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one comment, looks good otherwise

@rganeyev rganeyev requested a review from zbyte64 January 1, 2021 22:35
Copy link
Collaborator

@zbyte64 zbyte64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@zbyte64 zbyte64 merged commit 1281c13 into graphql-python:v2 Jan 2, 2021
@mahmoudmostafa0
Copy link
Contributor

why this feature is remove now ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants