Closed LibraChris closed 2 months ago
Could it be that Validate.ParamCollection.SatisfiesParameter
is the same like the function in this PR?: #88 🤔
Could it be that
Validate.ParamCollection.SatisfiesParameter
is the same like the function in this PR?: #88 🤔
No, since your function checks each element against a condition, while mine just checks if a certain function on the Params returns true. So, for example, using Seq.exist would return true if just one element of the ParamCollection matches.
Could it be that Validate.ParamCollection.SatisfiesParameter
is the same like the function in this PR?: #88 🤔
Could it be that
Validate.ParamCollection.SatisfiesParameter
is the same like the function in this PR?: #88 🤔No, since your function checks each element against a condition, while mine just checks if a certain function on the Params returns true. So, for example, using Seq.exist would return true if just one element of the ParamCollection matches.
Ah okay, I get it. Thx! 👍
Let's incorporate the spec validation directly into the lib, after dependency updates and this is merged 👍
Introduce SatisfiesParameter as a validation method for Param and ParamCollection, alongside foundational tests for both functionalities.