graphene
graphene copied to clipboard
Fix enum value equality comparison
Fix for https://github.com/graphql-python/graphene/issues/1524
This change takes care to preserve the current behavior where different enums with identical values are non-equal.
However it fixes inconsistent behavior when comparing enums to non-enum values. These comparisons would sometimes identify the non-enum values as equal and other times as non-equal due to is comparison.