why define an enum in-place in VestingConditionTrigger.schema.json #201
-
All other enums within the schema are defined under Is there a reason for the exception? I think that we should extract the enum for consistency reasons. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@haoting-addepar thanks for asking. When I created that, I chose not to extract an enum that was being used in only one place. But, I think there are other places in which we do this extraction (including in vesting). @JSv4 what do you think, should we make an issue for this? I'd also suggest we add that to our contribution guidelines, if we're going to "always" extract enums. |
Beta Was this translation helpful? Give feedback.
@haoting-addepar thanks for asking. When I created that, I chose not to extract an enum that was being used in only one place. But, I think there are other places in which we do this extraction (including in vesting). @JSv4 what do you think, should we make an issue for this?
I'd also suggest we add that to our contribution guidelines, if we're going to "always" extract enums.