Problem when use customAlphabet import and typeorm #461
Closed
alissonperim
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's not the first time that i have problem to use this both guys together.
I'm using a base entity with id generated from a nanoId function, who is a function from
customAlphabet
,when i try to generate a migration an error happs and i got block because of that.
This is my entity with the function to generate nanoId:
And that is the error when i run the script to generate migration:
Beta Was this translation helpful? Give feedback.
All reactions