-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Feature request
As the CDM evolves, there may be instances where an circe expression is constructed that does not support a certain CDM capability. This feature request proposes to add a 'targetCDM' property that is a a semver range expression (example and documentation). Authors can declare which version of a CDM this expression applies to. Using this, a validation check can be made before execution that the expression is compatible with the CDM version.
examples:
cdmTarget: '>5.0.1'
cdmTarget:'5.0.1 || >=5.3 < 6.0'
In javascript, this expression could be evaluated using:
semver.satisfies(cdmVersion, cdmTarget) // true when the cdmVersion fits in the cdmTarget semver range
Metadata
Metadata
Assignees
Labels
No labels