Replies: 1 comment
-
There currently is not a mechanism for this, though one could imagine a future Map type that would similarly allow using enums or custom scalars based on string to allow pattern and length constraints. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I might be missing something, but does
Record<T>
allows to add validation decorators?I can add validation on the value part of the key-value by extracting a scalar.
But can I limit the length and character set of the keys?
Beta Was this translation helpful? Give feedback.
All reactions