Skip to content

What's the difference between version and constraints.version in routes options? #5399

Closed Answered by metcoder95
ligreman asked this question in Q&A
Discussion options

You must be logged in to vote

They are the same, and internally the version property is added as constraints.version if passed while adding the route.
This is currently under a deprecation notice and most likely will be drop in the next major. Its recommended to use constraints: { version: 'x.x.x' } instead

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ligreman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants