graphql-python / graphene-pydantic

Integrate GraphQL with your Pydantic models
Other
229 stars 44 forks source link

Ignore all NoneTypes during evaluation of Unions #13

Closed BoyangHuang closed 5 years ago

BoyangHuang commented 5 years ago

Ignore all NoneTypes during evaluation of Unions

This commit ignores all NoneTypes when evaluating Union types. Previously, NoneTypes were only ignored for Unions of length 2.

Upside CLA

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.