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
Have frequently experienced this when doing dev and not being vigilant about watching hot reloads, only workaround I've found is commenting out all fields and reintroducing them one by one back into the collection.
Hey all, this is actually just how our implementation of Joi schema validation works. Nested errors are fairly difficult to report properly.
As of now, this is technically functioning as we intended, although I do agree that more work should be done here to make these nested errors surface more gracefully. I will convert this to a roadmap item and then address it accordingly with the team soon.
Looking forward to seeing these cleaned up a bit for sure. Thanks for bringing this up!
Activity
ssyberg commentedon Jun 20, 2023
Have frequently experienced this when doing dev and not being vigilant about watching hot reloads, only workaround I've found is commenting out all fields and reintroducing them one by one back into the collection.
jmikrut commentedon Jun 26, 2023
Hey all, this is actually just how our implementation of Joi schema validation works. Nested errors are fairly difficult to report properly.
As of now, this is technically functioning as we intended, although I do agree that more work should be done here to make these nested errors surface more gracefully. I will convert this to a roadmap item and then address it accordingly with the team soon.
Looking forward to seeing these cleaned up a bit for sure. Thanks for bringing this up!