-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Given: Definition file containing a "minimum version" constraint
When: User loads that file in a released version of the app which version is lesser
Then: Error message prompting user to update their app
This is to give users a clear message when the TOML definition has changed in future versions, but they're not updated yet. The alternative is that the load will just start failing with specific TOML failures. This protects case where multiple users are working on a definition, but one user has updated and is using new features but another user has not.
min_version = "1.4.0"Note that this should only be checked when user is running a RELEASE version. CI versions and locally-built version should be exempt. Users running these versions need more flexibility, and can be expected to be aware of TOML changes.