-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test for returning object relationship after insert
- Loading branch information
1 parent
346ad4a
commit e9cdd4d
Showing
4 changed files
with
547 additions
and
0 deletions.
There are no files selected for viewing
379 changes: 379 additions & 0 deletions
379
...ation/tests/goldenfiles/mutations/v2_insert_return_object_relationship/configuration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,379 @@ | ||
{ | ||
"version": "5", | ||
"$schema": "../../../../../../../static/configuration.schema.json", | ||
"connectionSettings": { | ||
"connectionUri": { | ||
"variable": "CONNECTION_URI" | ||
}, | ||
"poolSettings": { | ||
"maxConnections": 50, | ||
"poolTimeout": 30, | ||
"idleTimeout": 180, | ||
"checkConnectionAfterIdle": 60, | ||
"connectionLifetime": 600 | ||
}, | ||
"isolationLevel": "ReadCommitted" | ||
}, | ||
"metadata": { | ||
"tables": { | ||
"Album": { | ||
"schemaName": "public", | ||
"tableName": "Album", | ||
"columns": { | ||
"AlbumId": { | ||
"name": "AlbumId", | ||
"type": { | ||
"scalarType": "int4" | ||
}, | ||
"nullable": "nullable", | ||
"description": null | ||
}, | ||
"ArtistId": { | ||
"name": "ArtistId", | ||
"type": { | ||
"scalarType": "int4" | ||
}, | ||
"nullable": "nullable", | ||
"description": null | ||
}, | ||
"Title": { | ||
"name": "Title", | ||
"type": { | ||
"scalarType": "varchar" | ||
}, | ||
"nullable": "nullable", | ||
"description": null | ||
} | ||
}, | ||
"uniquenessConstraints": {}, | ||
"foreignRelations": {}, | ||
"description": null | ||
}, | ||
"Artist": { | ||
"schemaName": "public", | ||
"tableName": "Artist", | ||
"columns": { | ||
"ArtistId": { | ||
"name": "ArtistId", | ||
"type": { | ||
"scalarType": "int4" | ||
}, | ||
"nullable": "nullable", | ||
"description": null | ||
}, | ||
"Name": { | ||
"name": "Name", | ||
"type": { | ||
"scalarType": "varchar" | ||
}, | ||
"nullable": "nullable", | ||
"description": null | ||
} | ||
}, | ||
"uniquenessConstraints": {}, | ||
"foreignRelations": {}, | ||
"description": null | ||
} | ||
}, | ||
"types": { | ||
"scalar": { | ||
"int4": { | ||
"typeName": "int4", | ||
"schemaName": "pg_catalog", | ||
"description": null, | ||
"aggregateFunctions": {}, | ||
"comparisonOperators": {}, | ||
"typeRepresentation": "int32" | ||
}, | ||
"varchar": { | ||
"typeName": "varchar", | ||
"schemaName": "pg_catalog", | ||
"description": null, | ||
"aggregateFunctions": {}, | ||
"comparisonOperators": {}, | ||
"typeRepresentation": "string" | ||
} | ||
}, | ||
"composite": {} | ||
}, | ||
"nativeOperations": { | ||
"queries": {}, | ||
"mutations": {} | ||
} | ||
}, | ||
"introspectionOptions": { | ||
"excludedSchemas": [ | ||
"information_schema", | ||
"pg_catalog", | ||
"tiger", | ||
"crdb_internal", | ||
"columnar", | ||
"columnar_internal" | ||
], | ||
"unqualifiedSchemasForTables": [ | ||
"public" | ||
], | ||
"unqualifiedSchemasForTypesAndProcedures": [ | ||
"public", | ||
"pg_catalog", | ||
"tiger" | ||
], | ||
"comparisonOperatorMapping": [ | ||
{ | ||
"operatorName": "=", | ||
"exposedName": "_eq", | ||
"operatorKind": "equal" | ||
}, | ||
{ | ||
"operatorName": "<=", | ||
"exposedName": "_lte", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": ">", | ||
"exposedName": "_gt", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": ">=", | ||
"exposedName": "_gte", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "<", | ||
"exposedName": "_lt", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "<>", | ||
"exposedName": "_neq", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "!=", | ||
"exposedName": "_neq", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "LIKE", | ||
"exposedName": "_like", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "NOT LIKE", | ||
"exposedName": "_nlike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "ILIKE", | ||
"exposedName": "_ilike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "NOT ILIKE", | ||
"exposedName": "_nilike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "SIMILAR TO", | ||
"exposedName": "_similar", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "NOT SIMILAR TO", | ||
"exposedName": "_nsimilar", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "~~", | ||
"exposedName": "_like", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "!~~", | ||
"exposedName": "_nlike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "~~*", | ||
"exposedName": "_ilike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "!~~*", | ||
"exposedName": "_nilike", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "~", | ||
"exposedName": "_regex", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "!~", | ||
"exposedName": "_nregex", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "~*", | ||
"exposedName": "_iregex", | ||
"operatorKind": "custom" | ||
}, | ||
{ | ||
"operatorName": "!~*", | ||
"exposedName": "_niregex", | ||
"operatorKind": "custom" | ||
} | ||
], | ||
"introspectPrefixFunctionComparisonOperators": [ | ||
"box_above", | ||
"box_below", | ||
"box_contain", | ||
"box_contain_pt", | ||
"box_contained", | ||
"box_left", | ||
"box_overabove", | ||
"box_overbelow", | ||
"box_overlap", | ||
"box_overleft", | ||
"box_overright", | ||
"box_right", | ||
"box_same", | ||
"circle_above", | ||
"circle_below", | ||
"circle_contain", | ||
"circle_contain_pt", | ||
"circle_contained", | ||
"circle_left", | ||
"circle_overabove", | ||
"circle_overbelow", | ||
"circle_overlap", | ||
"circle_overleft", | ||
"circle_overright", | ||
"circle_right", | ||
"circle_same", | ||
"contains_2d", | ||
"equals", | ||
"geography_overlaps", | ||
"geometry_above", | ||
"geometry_below", | ||
"geometry_contained_3d", | ||
"geometry_contains", | ||
"geometry_contains_3d", | ||
"geometry_contains_nd", | ||
"geometry_left", | ||
"geometry_overabove", | ||
"geometry_overbelow", | ||
"geometry_overlaps", | ||
"geometry_overlaps_3d", | ||
"geometry_overlaps_nd", | ||
"geometry_overleft", | ||
"geometry_overright", | ||
"geometry_right", | ||
"geometry_same", | ||
"geometry_same_3d", | ||
"geometry_same_nd", | ||
"geometry_within", | ||
"geometry_within_nd", | ||
"inet_same_family", | ||
"inter_lb", | ||
"inter_sb", | ||
"inter_sl", | ||
"is_contained_2d", | ||
"ishorizontal", | ||
"isparallel", | ||
"isperp", | ||
"isvertical", | ||
"jsonb_contained", | ||
"jsonb_contains", | ||
"jsonb_exists", | ||
"jsonb_path_exists_opr", | ||
"jsonb_path_match_opr", | ||
"line_intersect", | ||
"line_parallel", | ||
"line_perp", | ||
"lseg_intersect", | ||
"lseg_parallel", | ||
"lseg_perp", | ||
"network_overlap", | ||
"network_sub", | ||
"network_sup", | ||
"on_pb", | ||
"on_pl", | ||
"on_ppath", | ||
"on_ps", | ||
"on_sb", | ||
"on_sl", | ||
"overlaps_2d", | ||
"path_contain_pt", | ||
"path_inter", | ||
"point_above", | ||
"point_below", | ||
"point_horiz", | ||
"point_left", | ||
"point_right", | ||
"point_vert", | ||
"poly_above", | ||
"poly_below", | ||
"poly_contain", | ||
"poly_contain_pt", | ||
"poly_contained", | ||
"poly_left", | ||
"poly_overabove", | ||
"poly_overbelow", | ||
"poly_overlap", | ||
"poly_overleft", | ||
"poly_overright", | ||
"poly_right", | ||
"poly_same", | ||
"pt_contained_poly", | ||
"st_3dintersects", | ||
"st_contains", | ||
"st_containsproperly", | ||
"st_coveredby", | ||
"st_covers", | ||
"st_crosses", | ||
"st_disjoint", | ||
"st_equals", | ||
"st_intersects", | ||
"st_isvalid", | ||
"st_orderingequals", | ||
"st_overlaps", | ||
"st_relatematch", | ||
"st_touches", | ||
"st_within", | ||
"starts_with", | ||
"ts_match_qv", | ||
"ts_match_tq", | ||
"ts_match_tt", | ||
"ts_match_vq", | ||
"tsq_mcontained", | ||
"tsq_mcontains", | ||
"xmlexists", | ||
"xmlvalidate", | ||
"xpath_exists" | ||
], | ||
"typeRepresentations": { | ||
"bit": "string", | ||
"bool": "boolean", | ||
"bpchar": "string", | ||
"char": "string", | ||
"date": "date", | ||
"float4": "float32", | ||
"float8": "float64", | ||
"int2": "int16", | ||
"int4": "int32", | ||
"int8": "int64AsString", | ||
"numeric": "bigDecimalAsString", | ||
"text": "string", | ||
"time": "time", | ||
"timestamp": "timestamp", | ||
"timestamptz": "timestamptz", | ||
"timetz": "timetz", | ||
"uuid": "uUID", | ||
"varchar": "string" | ||
} | ||
}, | ||
"mutationsVersion": "v2", | ||
"mutationsPrefix": null | ||
} |
Oops, something went wrong.