Custom Message for `Schema.optional` in Validation

Is it possible to set your own message for the Schema.optional? It doesn't accept the message annotation, and missingMessage doesn't seem to do anything. Example https://codesandbox.io/p/sandbox/wzchh3?file=%2Fsrc%2Findex.ts
Was this page helpful?