malli 2025-07-04

Where is the right place to put an error message for an or schema. I’ve tried the two places I could think of but neither worked.

I don’t want to put the error message inside each branch - I want a generic top level one, if that makes sense?

You need custom handling for that. There's some ideas here: https://github.com/fluree/db/pull/598, see resolve-root-error-for-in