mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
88aa42a986
In hasura/graphql-engine#7172, an issue was found where under certain conditions a JSON field from Postgres would be parsed as a GraphQL input object, which is not possible in general, and also unnecessary. Luckily, this was already fixed by the time `v2.0.6` got around, presumably thanks to 4a83bb1834
. This adds a regression test.
https://github.com/hasura/graphql-engine-mono/pull/2158
GitOrigin-RevId: 1ded1456f6b89726e08f77cf3383ad88c04de451
20 lines
587 B
YAML
20 lines
587 B
YAML
type: bulk
|
|
args:
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table if exists profiles;
|
|
drop table if exists user_profiles;
|
|
drop table if exists authors;
|
|
drop table if exists employees;
|
|
drop function if exists total_marks(students);
|
|
drop function if exists total_marks_offset(students, integer);
|
|
drop function if exists total_marks_session(students, json);
|
|
drop table if exists students;
|
|
drop table if exists regression_7172;
|
|
|
|
# also drops remote relationship as direct dep
|
|
- type: remove_remote_schema
|
|
args:
|
|
name: my-remote-schema
|