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
feat(psl): Validation error when shadowDatabaseUrl is identical to url or directUrl #4831
Conversation
…l or directUrl Closes #16628
CodSpeed Performance ReportMerging #4831 will not alter performanceComparing Summary
|
Hey @pranayat! thanks for the PR :) Error appears on both But does not appear at all here when only |
@Druue Ah good catch! I've spotted the issue in my code, shall fix it :) |
@Druue Can review now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just one final nit 😅
psl/psl/tests/validation/datasource/direct_url_same_as_shadow.prisma
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Late to the party (so feel free to ignore!), but how about adding ... to avoid data loss.
to the end of both error messages to give users some explanation why as well?
I'll most certainly not ignore this 😄, could save users a google search. |
00d73dc
to
22344d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thank you so much! :D ❤️
Thank you for the great review 😄 |
Hi there !
This PR closes prisma/prisma#16628