graphql-engine/server/src-lib/Hasura/GraphQL
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
..
Execute server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Resolve server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Schema server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Transport Fix erroneous error logging in WebSocket.onStop 2020-04-10 12:55:43 +05:30
Validate auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Context.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Execute.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Explain.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Logging.hs refactor some internal components (#3414) 2019-11-26 17:44:21 +05:30
RemoteServer.hs auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Resolve.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Schema.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Utils.hs Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
Validate.hs Track variable uses within query validation for caching (fix #3097) (#3135) 2019-10-16 09:33:34 -05:00