8000 Support for `nanoid()` · Issue #1288 · morintd/prismock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support for nanoid() #1288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionall 8000 y send you account related emails.

Already on GitHub? Sign in to your account

Open
kjellmorten opened this issue Apr 8, 2025 · 1 comment
Open

Support for nanoid() #1288

kjellmorten opened this issue Apr 8, 2025 · 1 comment

Comments

@kjellmorten
Copy link

Hi, and thanks for prismock!

I'm using prismock in a project where the ids are defined with @default(nanoid()) and I see that this is not supported in prismock. We get around it by setting the ids specifically in the code, but that defeats the purpose. :)

Would you be open to a PR?

@kjellmorten
Copy link
Author

I needed this in a project, so I just implemented it. :)

Here's a PR, @morintd: #1323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0