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 query root in mutation fields #1583

Open
rakeshkky opened this issue Feb 11, 2019 · 3 comments
Open

add query root in mutation fields #1583

rakeshkky opened this issue Feb 11, 2019 · 3 comments
Assignees
Labels
a/api/graphql c/server Related to server c/v3-engine V3 Metadata and Engine k/enhancement New feature or improve an existing feature v3

Comments

@rakeshkky
Copy link
Member

rakeshkky commented Feb 11, 2019

Support queries in mutation response.

Example:-

    mutation insert_article {
      insert_article(
        objects: [
          {
            id: 21,
            title: "Article 1",
            content: "Sample article content",
            author_id: 3
          }
        ]
      ) {
        returning {
          id
          title
        }
        query {
          author(where: {id: {_eq: 1}){
            id
            name
          }
        }
      }
    }
@rakeshkky rakeshkky added k/enhancement New feature or improve an existing feature c/server Related to server labels Feb 11, 2019
@rakeshkky rakeshkky self-assigned this Feb 11, 2019
rakeshkky added a commit to rakeshkky/graphql-engine that referenced this issue Feb 11, 2019
TODO:-
1. Add tests
2. Update docs
@dsandip dsandip added this to the v1.0.0-alpha38 milestone Feb 11, 2019
@0x777
Copy link
Member

0x777 commented Feb 28, 2019

Blocked on #1576

@dsandip dsandip modified the milestones: v1.0.0-alpha39, v1.0.0-alpha40, v1.0.0-alpha41 Feb 28, 2019
@shahidhk shahidhk modified the milestones: v1.0.0-alpha40, v1.0.0-alpha41, v1.0.0-alpha42 Mar 11, 2019
rakeshkky added a commit to rakeshkky/graphql-engine that referenced this issue Mar 13, 2019
@rikinsk-zz rikinsk-zz removed this from the v1.0.0-alpha42 milestone Jun 6, 2019
@manasag
Copy link
Contributor

manasag commented Dec 28, 2023

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

@beepsoft
Copy link

beepsoft commented Sep 5, 2024

@manasag, is this still on the V3 roadmap?

hasura-bot pushed a commit that referenced this issue Jan 30, 2025
### What
This PR updates engine to use the latest ndc-spec v0.2.0-rc.3.

There are no user facing implications as ndc 0.2.0 is still behind an
experimental flag.

V3_GIT_ORIGIN_REV_ID: 17b640abca8a6986ee6122b2e2d84260338f1338
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/api/graphql c/server Related to server c/v3-engine V3 Metadata and Engine k/enhancement New feature or improve an existing feature v3
Projects
None yet
8 participants