graphql-engine/server/src-lib/Hasura/GraphQL/Resolve
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
..
Action.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
BoolExp.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Context.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
InputValue.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Insert.hs fix postgres query error when computed fields included in mutation response, fix #4035 2020-03-11 10:23:28 +05:30
Introspect.hs auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Mutation.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Select.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Types.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30