Skip to content
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 occasionally send you account related emails.

Already on GitHub? Sign in to your account

ra DateInput default value makes prisma update/create mutations crash #10

Open
aellanglet opened this issue May 11, 2021 · 1 comment
Open

Comments

@aellanglet
Copy link

aellanglet commented May 11, 2021

Since lasts ra updates, DateInput got a new behavior or more precisely a fix which add an empty string as default value.

This makes dataprovider crash because prisma doesn't accept "" as DateTime but only null value.

I did a simple fix and thought you might need it.

@macrozone
Copy link

check out if it works with our version: https://github.com/panter/ra-data-prisma

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

2 participants