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

Federated Mutations (orchestration framework) #10247

Open
manasag opened this issue May 21, 2024 · 3 comments
Open

Federated Mutations (orchestration framework) #10247

manasag opened this issue May 21, 2024 · 3 comments
Labels
c/v3-ndc-hub k/enhancement New feature or improve an existing feature v3

Comments

@manasag
Copy link
Contributor

manasag commented May 21, 2024

Some of the usecases being considered as part of this issue:

  • I want to issue multiple GQL queries/mutations and interleave business logic amongst them
  • I want to apply validation logic before a mutation
  • I want to add computed fields to my existing object types
  • I want to run complex authorization logic before applying a mutation
  • I want to run a saga/workflow of business logic interleaved with queries/mutations
@beepsoft
Copy link

beepsoft commented Sep 5, 2024

This issue seems to combine issues like #5773, #1583, #2657.

@manasag , @sordina do you have an idea when this will be implemented?

@manasag
Copy link
Contributor Author

manasag commented Sep 24, 2024

The current thought about this is to expose some built in functions in the Typescript Connector that allows to call back into the Hasura Supergraph. These callbacks will make it possible to compose any number of queries or mutations in easy typescript function definitions. We will be sharing the RFC and maybe some early work soon about this.
This is not planned to be in production soon. Best case end of 2024.

@manasag
Copy link
Contributor Author

manasag commented Sep 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/v3-ndc-hub k/enhancement New feature or improve an existing feature v3
Projects
Status: Backlog
Development

No branches or pull requests

4 participants