graphql-engine/server/tests-py/queries/remote_schemas/remote_relationships
Rakesh Emmadi c2f667a06d server: correctly generate remote relationship field type
>

### Description
>
From HGE version 2.0 onwards, all remote relationship fields are generated as plain types without non-nullable and lists. This PR fixes the same.

### Changelog

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components

- [x] Server
- [x] Tests

### Related Issues
->
fix https://github.com/hasura/graphql-engine/issues/7284

### Steps to test and verify
>
- Create a remote relationship to a field in remote schema with non-nullable or list type
- The HGE introspection should give the remote relationship field type correctly as like in the remote schema

https://github.com/hasura/graphql-engine-mono/pull/2071

GitOrigin-RevId: e113f5d17b62bfa0a25028c20260ae1782ae224b
2021-08-12 12:17:52 +00:00
..
schema_customization Fix/remote nested field customization 2021-08-05 14:59:55 +00:00
basic_array_without_join_key.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_array.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_mixed.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_multiple_fields.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_nested_fields.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_relationship_alias.yaml Remote schema execution logic 2021-08-06 13:40:37 +00:00
basic_relationship_joining_singleton_with_array.yaml server: don't throw validation error when joining singleton type to array type 2020-08-17 14:51:11 +05:30
basic_relationship_with_permissions1.yaml server: fix issue when remote relationship col has a custom GQL name 2021-03-09 09:25:29 +00:00
basic_relationship_with_permissions2.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
basic_relationship.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
complex_multiple_joins.yaml server: fix issue when remote relationship col has a custom GQL name 2021-03-09 09:25:29 +00:00
delete_remote_rel.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
drop_col_with_remote_rel_dependency.yaml server: move to storing metadata as a json blob (#115) 2020-12-08 14:23:28 +00:00
drop_table_with_remote_rel_dependency.yaml server: move to storing metadata as a json blob (#115) 2020-12-08 14:23:28 +00:00
mixed_fragments.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
mixed_interface.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
mixed_variables.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
mutation_output_with_remote_join_fields.yaml Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
query_with_arguments.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_arr_rel.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_arr.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_complex_path_arr2.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_complex_path_arr.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_complex_path_obj2.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_complex_path_obj.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_deep_nesting_obj.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_errors_arr.yaml Remote schema execution logic 2021-08-06 13:40:37 +00:00
query_with_errors_obj.yaml Remote schema execution logic 2021-08-06 13:40:37 +00:00
query_with_object_rel.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
query_with_scalar_rel.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
remote_join_with_computed_field_session.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
remote_join_with_computed_field.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
remote_rel_enum.yaml Server: support remote relationships to unions, interfaces and enum types (#6080) 2020-10-29 17:00:19 +05:30
remote_rel_fragments.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
remote_rel_interface.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
remote_rel_union.yaml Server: support remote relationships to unions, interfaces and enum types (#6080) 2020-10-29 17:00:19 +05:30
remote_rel_variables.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
remote_rel_with_null_joining_fields.yaml server: query remote server in a remote join query iff all arguments are not null (#31) 2020-11-18 09:00:12 +00:00
remote_relationship_field_type.yaml server: correctly generate remote relationship field type 2021-08-12 12:17:52 +00:00
remove_remote_schema.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
rename_col_with_remote_rel_dependency.yaml fix bug which arised when renaming a column/table if it was used to create the remote relationship (#5005) 2020-06-09 19:59:39 +05:30
rename_table_with_remote_rel_dependency.yaml fix bug which arised when renaming a column/table if it was used to create the remote relationship (#5005) 2020-06-09 19:59:39 +05:30
select_remote_fields.yaml server: support remote relationships on SQL Server and BigQuery (#1497) 2021-06-11 03:27:39 +00:00
setup_address.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_all_relationships.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_array.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_computed_field.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
setup_invalid_remote_rel_hasura_field.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_literal.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_nested_args.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_remote_args.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_remote_field.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_remote_schema.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_type.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_invalid_remote_rel_variable.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_multiple_remote_rel.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_array.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_basic_with_authors.yaml Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
setup_remote_rel_basic.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_computed_fields.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
setup_remote_rel_joining_singleton_with_array.yaml server: don't throw validation error when joining singleton type to array type 2020-08-17 14:51:11 +05:30
setup_remote_rel_multiple_fields.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_nested_args_multiple_results.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_nested_args.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_nested_fields.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_null_joining_fields.yaml server: query remote server in a remote join query iff all arguments are not null (#31) 2020-11-18 09:00:12 +00:00
setup_remote_rel_scalar.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_with_enum.yaml Server: support remote relationships to unions, interfaces and enum types (#6080) 2020-10-29 17:00:19 +05:30
setup_remote_rel_with_errors.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_with_interface.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
setup_remote_rel_with_union.yaml Server: support remote relationships to unions, interfaces and enum types (#6080) 2020-10-29 17:00:19 +05:30
setup_with_permissions.yaml server: fix issue when remote relationship col has a custom GQL name 2021-03-09 09:25:29 +00:00
setup.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
subscription_with_remote_join_fields.yaml Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
teardown_address.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
teardown.yaml server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
update_basic_query.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
update_remote_rel_basic.yaml Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
with_relay.yaml allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257) 2020-07-03 12:00:35 +05:30