mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
c4b659e12c
## Description To clarify the purpose of the `"source"` field, we've decided to rename it to `"sourceType"`. This hopefully makes it clearer that the value should be a type name. `"source"` is still accepted as an alias in order to stop this from being a breaking change. I have added the aliasing capability for struct fields in `opendds_derive`. All test metadata has been updated to use `"sourceType"`, but I've added one test case that uses `"source"` instead just to make sure that it still works. ## Changelog - Add a changelog entry (in the "Changelog entry" section below) if the changes in this PR have any user-facing impact. See [changelog guide](https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide). - If no changelog is required ignore/remove this section and add a `no-changelog-required` label to the PR. ### Product _(Select all products this will be available in)_ - [x] community-edition - [x] cloud <!-- product : end : DO NOT REMOVE --> ### Type <!-- See changelog structure: https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide#structure-of-our-changelog --> _(Select only one. In case of multiple, choose the most appropriate)_ - [ ] highlight - [ ] enhancement - [ ] bugfix - [x] behaviour-change - [ ] performance-enhancement - [ ] security-fix <!-- type : end : DO NOT REMOVE --> ### Changelog entry <!-- - Add a user understandable changelog entry - Include all details needed to understand the change. Try including links to docs or issues if relevant - For Highlights start with a H4 heading (#### <entry title>) - Get the changelog entry reviewed by your team --> - OpenDDS: The `"source"` field for relationships has been renamed to `"sourceType"`. Metadata using `"source"` will continue to work as usual, but new metadata should be authored with `"sourceType"` instead. <!-- changelog-entry : end : DO NOT REMOVE --> <!-- changelog : end : DO NOT REMOVE --> V3_GIT_ORIGIN_REV_ID: 305cbf7a62ee49a715e95ad892b8d00647f05cef |
||
---|---|---|
.. | ||
field_with_local_relationship | ||
field_with_multi_remote_relationship_subfields | ||
field_with_nested_remote_relationship_1 | ||
field_with_nested_remote_relationship_2 | ||
field_with_remote_relationship | ||
introspection_query | ||
multi_root_field_queries |