Closed paprikati closed 6 months ago
This is fixed by https://github.com/goadesign/goa/pull/3490. Note that the fix does not return an error when an entry is nil as that could be a valid case. Instead the user code should check and return an error if that's not expected. Unfortunately there's no good way to define a validation for this specific case (not something that JSON schema or OpenAPI supports).
Yep that's all good, thanks so much for the fix!
Repro steps
design
payload
Expected behaviour
Some kind of human readable error, like
struct at
foo.bar` cannot be nullResulting error: