Closed dilyevsky closed 4 years ago
Implement starlark.Comparable interface for skyProtoEnumValue to handle enum comparison correctly. Only supports == and != operations.
starlark.Comparable
skyProtoEnumValue
==
!=
Fixes https://github.com/stripe/skycfg/issues/76
Hah, I was literally just working on this and saw the github notification after I created https://github.com/stripe/skycfg/pull/78.
I'll add some comments here too.
Implement
starlark.Comparable
interface forskyProtoEnumValue
to handle enum comparison correctly. Only supports==
and!=
operations.Fixes https://github.com/stripe/skycfg/issues/76