Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Remote Schema Relationships to Attributes within JSON Fields #10222

Open
tiafouroohi opened this issue May 2, 2024 · 0 comments
Open
Labels
k/enhancement New feature or improve an existing feature

Comments

@tiafouroohi
Copy link

Component

Remote Schema Relationships

Is your proposal related to a problem?

Have a Remote Schema to another GraphQL service, and among the fields on one or more types, there is a JSON field with deeply-nested attributes. Also have Remote Relationships between that Remote schema and other fields in the GraphQL API from database tables. Would like to make the Remote Relationship relate to a scalar field from a database table one one side, to a deeply-nested attribute from the Remote Schema JSON field on the other side. Given how Remote Relationships work, this is not possible. The type of relationship depends on the type of the scalar fields involved. In the case of JSON or JSONB data, it doesn't really support anything like JSON-Path, so that you could related a field from one schema, to a deeply nested attribute in a JSON field in another schema.

Describe the solution you'd like

Support Remote Relationships to attributes within JSON fields.

Describe alternatives you've considered

N/A

@tiafouroohi tiafouroohi added the k/enhancement New feature or improve an existing feature label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant