graphql-engine/server/tests-py/queries/graphql_introspection/descriptions/setup.yaml
Daniel Chambers 2c7a4e3a16 Customization of computed field GraphQL schema descriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3615
GitOrigin-RevId: f51590d4cfc0412be9baa371353f9b9f3b908f84
2022-02-15 23:17:27 +00:00

52 lines
1.1 KiB
YAML

type: bulk
args:
- type: pg_track_table
args:
table: automatic_comment_in_db
- type: pg_add_computed_field
args:
table: automatic_comment_in_db
name: upper_name
definition:
function: automatic_comment_in_db_upper_name
- type: pg_track_table
args:
table: automatic_no_comment_in_db
- type: pg_add_computed_field
args:
table: automatic_no_comment_in_db
name: upper_name
definition:
function: automatic_no_comment_in_db_upper_name
- type: pg_track_table
args:
table: explicit_comment_in_metadata
configuration:
comment: Such an explicit comment, wow
- type: pg_add_computed_field
args:
table: explicit_comment_in_metadata
name: upper_name
definition:
function: explicit_comment_in_metadata_upper_name
comment: Such an explicit function comment, wow
- type: pg_track_table
args:
table: explicit_no_comment_in_metadata
configuration:
comment: ""
- type: pg_add_computed_field
args:
table: explicit_no_comment_in_metadata
name: upper_name
definition:
function: explicit_no_comment_in_metadata_upper_name
comment: ""