graphql-engine/server/src-lib/Hasura/GraphQL/Schema
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
..
Mutation allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Action.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
BoolExp.hs fix few bugs related to nested insert returning (fix #3609, #3642, #3271) (#3618) 2020-02-04 21:04:17 +05:30
Builder.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Common.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
CustomTypes.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Function.hs functions can access session info via input arg (close #2322) (#3143) 2019-11-20 12:17:06 +05:30
Merge.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
OrderBy.hs support computed fields returning scalars or set of tables (close #1387) (#2917) 2019-10-18 13:59:47 +05:30
Select.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30