Skip to content

Commit

Permalink
accidentally no_panic query & expect
Browse files Browse the repository at this point in the history
  • Loading branch information
Druue committed Dec 22, 2023
1 parent 4f33bc3 commit d1d3128
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ mod distinct {
&runner,
indoc!(
"{
findManyUser(distinct: [first_name, last_name])
{ id, first_name, last_name }
}"
findManyUser(distinct: [first_name, last_name])
{ id }
}"
),
Postgres(_) => r###"{"data":{"findManyUser":[{"id":2,"first_name":"Doe","last_name":"Joe"},{"id":1,"first_name":"Joe","last_name":"Doe"}]}}"###,
_ => r###"{"data":{"findManyUser":[{"id":1,"first_name":"Joe","last_name":"Doe"},{"id":2,"first_name":"Doe","last_name":"Joe"}]}}"###
Postgres(_) => r###"{"data":{"findManyUser":[{"id":2},{"id":1}]}}"###,
_ => r###"{"data":{"findManyUser":[{"id":1},{"id":2}]}}"###
);

Ok(())
Expand Down

0 comments on commit d1d3128

Please sign in to comment.