Skip to content

Versioning model property descriptors #6020

Discussion options

You must be logged in to vote

we do not support versioning decorators today.

A quite nasty workaround is to create a new property with the decorator and rename the old one.

@minValue(123)
@added(v2)
prop: int32;

@removed(v2)
@renamedFrom(v2, "prop")
oldProp: int32;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@agrobman-fp
Comment options

Answer selected by agrobman-fp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants