Do you want to work on this issue?
You can request for a bounty in order to promote it!
Add a flag so custom classes and custom enums are only usable as class members #4118
adrien-bon posted onGitHub
Feature request description As far as I know, it is currently not possible to select which custom enums we see when adding a new property. We always see all available enums, while some of them could only be used through custom classes (and not directly added as properties). It would be nice to be able to select which enum to show or to hide.
Describe the solution you'd like When creating a new custom enum, add the possibility to hide it when adding new properties, ie. to not use it as a property value.
It could be done the same as for custom classes, by adding a Property value
tickbox:
For JSON export, we could use the same useAs
array but only take into account the property
value.