Open rubengmurray opened 2 years ago
Just occurred to me this is not necessarily enum
specific and is more of a support of the valid()
method...
Looks like it's mentioned here a while back 👀
https://github.com/TCMiranda/joi-extract-type/issues/5#issue-372240680
It would be great to see support of
enum
values through to extracted types.I've just tested out the following code with the
@latest
tag of@hapi/joi
&joi-extract-type
and it appears they aren't carried through.Are there any plans to support? Has it been looked at before?
Versions