You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Concerto 1.0.0-alpha, we have two validation APIs:
"Object Style Validate": Type -> Data -> ValidatedData
The experimental "Functional Style Validate": Type -> Data -> Boolean
The CLI only supports the former. It might be useful for testing / experimentation / usability to offer an option on the command line which would use the Functional Style validation.
The text was updated successfully, but these errors were encountered:
zsh-5.8$ more test.cto
namespace org.test
concept C identified by id {
o String name
o String id
}
zsh-5.8$ more test.json
{
"$class": "org.test.C",
"name": "John"
}
2:16:01 PM - INFO: Input is invalid
2:16:01 PM - ERROR: Instance org.test.C#undefined has an empty identifier.
Description
Since Concerto
1.0.0-alpha
, we have two validation APIs:The CLI only supports the former. It might be useful for testing / experimentation / usability to offer an option on the command line which would use the Functional Style validation.
The text was updated successfully, but these errors were encountered: