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

add continueParsing mode in "action" #2657

Open
Albert-Gao opened this issue Aug 2, 2019 · 2 comments
Open

add continueParsing mode in "action" #2657

Albert-Gao opened this issue Aug 2, 2019 · 2 comments
Labels
c/v3-engine V3 Metadata and Engine k/ideas Discuss new ideas / pre-proposals / roadmap v3

Comments

@Albert-Gao
Copy link
Contributor

Albert-Gao commented Aug 2, 2019

Discuss with @coco98 in Discord before

I think the current design is pretty flexible and can be used like a pre-request hook which solves at least all my problems like validation.

However, I am thinking of a continueParsing mode to the current design.

So instead of returning whatever returned from the serverless or remote call, what about sometimes I want to reconstruct the query, like, after doing some process, I want to return another set of data instead:

  • something like I send another graphql query to hasura along with a flag,
  • then hasura sees the flag,
  • it will execute the query and return the result to client
  • so it can save one roundtrip.

@coco98 said I should embed this info as well which I have no idea:
"vis a vis the query root in mutation issue"

@marionschleifer marionschleifer added the k/ideas Discuss new ideas / pre-proposals / roadmap label Aug 3, 2019
@coco98
Copy link
Contributor

coco98 commented Aug 5, 2019

Related to #1583

@manasag
Copy link
Contributor

manasag commented Dec 28, 2023

This issue will now be reviewed and tracked as part of the Hasura V3 roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/v3-engine V3 Metadata and Engine k/ideas Discuss new ideas / pre-proposals / roadmap v3
Projects
None yet
Development

No branches or pull requests

4 participants