Client-specific parameters
April 17, 2019 ยท View on GitHub
Clients can specify
parameters on any specific
request using the params argument with an object
value.
Parameters are custom pieces of information passed to the server. How those parameters are interpreted is server-specific.
query {
find_users(id: "1", params: { password: "admin" }) {
id
}
}
They can also be set using the protocol header
params, with a JSON object as value. For example, with HTTP:
X-Autoserver-Params: {"password": "admin"}