Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Need the feature of getting all of the values from the collection or table without giving all of the specific fields every time? #466

Closed
svenkatesh-nyros opened this issue Dec 20, 2018 · 1 comment

Comments

@svenkatesh-nyros
Copy link

svenkatesh-nyros commented Dec 20, 2018

Can you please provide the feature of getting all of the response values from the query type without giving each and every params every time. As it is time taking and required most of the time in api calls.

example:

query {
  getService(id:"55666") { * }
}

And another feature is
-> add option of giving query param to not get the specific field and get the remaining fields of the query. like in MongoDB {id: 1, name: 1, __v: -1 }

example :

query {
  getUser(id: "554645"){
    password: -1
  }
}

for getting the every fields of the user data by leaving the password value.

@IvanGoncharov
Copy link
Member

@svenkatesh-nyros This is a repo for the reference implementation of GraphQL server and not GraphQL specification. Your proposal is discussed and answered here:
graphql/graphql-spec#127 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants