Forum Discussion

wael1233's avatar
wael1233
New Member
2 years ago

how to make enum extends two enums

 

I want the filter Type to inherit the two others filters, how i can do it ?

 

FilterType:
type: string
enum: [ and, or, not, match, wildcard, range, exist ]

TerminalFilterType:
type: string
enum: [ match, wildcard, range, exist ]

CompoundFilterType:
type: string
enum: [ and, or, not ]
No RepliesBe the first to reply