graphql-engine/docs/graphql/manual/actions
Karthikeyan Chinnakonda 5116e16e18
server(actions): add support for queries (close #4032) (#4309)
* add support for action queries

* a new parameter `type` is added in the ArgumentDefinition, its value
  can be either `query` or `mutation` and it defaults to the latter

* throw 400 when a query action is tried to explain

* update the actions docs to include query actions

* refactor the ToJSON and ToOrdJSON of ActionDefinition

Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-16 12:55:19 +05:30
..
types server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
action-connect.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
action-handlers.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
async-actions.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
codegen.rst docs: replace doc with ref (close #4054) (#4068) 2020-03-12 01:12:36 +05:30
create.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
derive.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
index.rst server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30