[zod-mock] mockeryMapper only used for strings
dxlbnl opened this issue · 6 comments
dxlbnl commented
I expect mockeryMapper to be used for all value types (number | boolean | string).
But it seems to be only called when encountering string keys.
grmkris commented
would be also get to typesafe key, atleast for the first row
pct-cclausen commented
I noticed this, too, would be nice to be more flexible here
joost-quro commented
+1
Mat-moran commented
+1
Mat-moran commented
I notice also it, and it is strange that this does not work because it is in the README and example with numbers when they show the mockeryMapper function.
It is maybe a bug in the latest versions?