28 ms·
From the FAQ [1] > The right answer is for applications to do validation as-needed in application-level code. It would've been nice to include a parameter to
by throw14082020 3y ago
From the FAQ [1]
> The right answer is for applications to do validation as-needed in application-level code.
It would've been nice to include a parameter to switch "required message validation" on and off, instead of relying on application code. Internally in an application, we can turn this off, the message bus can turn it off, but in general, developers would really benefit from this being on.
[1] https://capnproto.org/faq.html#how-do-i-make-a-field-required-like-in-protocol-buffers https://capnproto.org/faq.html#how-do-i-make-a-field-require...