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 :) |
Druue
left a comment
There was a problem hiding this comment.
Looks good to me, just one final nit 😅
psl/psl/tests/validation/datasource/direct_url_same_as_shadow.prisma
Outdated
Show resolved
Hide resolved
janpio
left a comment
There was a problem hiding this comment.
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
Druue
left a comment
There was a problem hiding this comment.
Awesome! Thank you so much! :D ❤️
Thank you for the great review 😄 |




Hi there !
This PR closes prisma/prisma#16628