Closed sarim closed 4 years ago
After reading the source I see other decorators are ultimately calling the Field(Model.....
. So tried that way.
@Field(Model.uid(() => uuid()))
this works.
But obviously should have a @UidField
decorator too.
Yup, fair call. I must have missed that one. Merged, thanks for the input!
@Scotley I think the auto-publish to npm action isn't working bcz the version number haven't been increased in package.json
. Can you check that please?
Apologies, I have fixed the issue and npm is now on the correct version.
Seems like there is no
UidField
decorator?