re: How To Write A Custom Elixir Schema Validation VIEW POST

re: Great write-up! One other way I would maybe handle the need to check for those fields' existence is by having another function clause for mathemati...

Yeah, I think I started with something like this, but the feedback in the PR was that if other, unrelated validations were inserted in the wrong place in the pipeline then the errors field might show a false positive, leading to this custom function not running at all.

But, it obviously wasn't too bad of an idea if thats what you thought too!

Sorry for the late response, kind of dropped the ball.

code of conduct - report abuse