-
Notifications
You must be signed in to change notification settings - Fork 240
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
test(query-engine): fix some PlanetScale tests #4909
Conversation
CodSpeed Performance ReportMerging #4909 will not alter performanceComparing Summary
|
WASM Query Engine file Size
|
I'm merging this PR, as it's self-contained, is green on the CI, and only touches a couple of tests. |
r#"mutation{createOnePost(data:{id: 2, user_id:2, user_age: 2}){id, user_id, user_age, User{id}}}"#, | ||
2003 | ||
); | ||
// Foreign key violation, which doesn't happen on PlanetScale. |
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.
Why though?
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.
Because foreign keys are disabled by default on PlanetScale. Plus, our PlanetScale simulator lacks the ability to turn foreign key violations on
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.
Could we add this to the comment?
Also, shouldn't we have an emulated error in this case?
This PR fixes: