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
Btw, there is CLJ-2251 that would enable sane coercion for spec. E.g. run the transformations from inside the spec, not outside (via s/form walking) like we have to do now.
With or, there is currently no check whether the coerced value is correct, it only stops if the value has been changed, otherwise, takes the last value. For this to work as expected, it should do an extra check for the validity of the value and take the first value which is valid, like the actual s/or works.
So, there should be a validity check against the results of the spec-tools.parse/parse-spec results. It's just work, but I'm busy right now, PR would we welcome.
Given the following specs
Since
chevy
is acar
which is also avehicle
, I would expectcoerce
withstrip-extra-keys
to return the same forcar
andvehicle
but it doesn't:The text was updated successfully, but these errors were encountered: