Open faxm0dem opened 1 year ago
Something very annoying also, is that value
must be a String.
This is awkward:
test_values:
i_am_a_number: '123'
type: integer
This feels more right:
test_values:
i_am_a_number: 123
type: integer
Should we do Variant[String,Numeric]
?
Should we do
Variant[String,Numeric]
?
We can.
In this case we can probably also add Float
to that list and assume the end-users will only pass literals and not compute the values (0.02
vs 0.1 * 0.2
)?
We just converted our 632 patterns to the new v5 format. We ran into a few incompatible changes, and this PR allows all our patterns to work out.
Basically we relax a few type constraints, which are a bit too tight compared to what's allowed in patterndb