Skip to content
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

Convert nullable BooleanField to nullable Boolean. #777

Merged
merged 3 commits into from
May 9, 2020
Merged

Convert nullable BooleanField to nullable Boolean. #777

merged 3 commits into from
May 9, 2020

Conversation

jckw
Copy link
Contributor

@jckw jckw commented Sep 17, 2019

BooleanFields can now be made nullable using null=True in Django. Graphene used to convert all BooleanFields to a NonNull type; this commit fixes converting nullable BooleanFields.

Fixes #486.

@k90armstrong
Copy link

Any update on this?

Copy link
Member

@ProjectCheshire ProjectCheshire left a comment

Choose a reason for hiding this comment

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

Looks like the tests are failing, so I think this just need a test update (only one it appears)

@melvinkcx
Copy link

any update on this? this is still prevalent.

jckw and others added 2 commits December 26, 2019 11:54
BooleanFields can now be made nullable using `null=True` in Django.
Graphene used to convert all BooleanFields to a NonNull type; this
commit fixes converting nullable BooleanFields.

Fixes #486.
@jkimbo
Copy link
Member

jkimbo commented Dec 26, 2019

Fixed the tests. @ProjectCheshire can you review again?

@jkimbo jkimbo requested a review from zbyte64 December 26, 2019 19:52
@stale
Copy link

stale bot commented May 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added wontfix and removed wontfix labels May 7, 2020
@jkimbo jkimbo merged commit 894c564 into graphql-python:master May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Django 2.1 BooleanField(null=True) syntax not supported by DjangoObjectType
6 participants