Introduced optional_fields to SerializationMutation by rganeyev · Pull Request #1080 · graphql-python/graphene-django

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@rganeyev

Copy link

Contributor

Added optional_fields to SerializationMutation to forcefully mark some fields as optional

sebslomski reacted with thumbs up emoji

@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

Reviewers

@zbyte64 zbyte64 zbyte64 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@rganeyev @sebslomski @zbyte64 @mahmoudmostafa0