graphql-engine/server/src-lib/Hasura/RQL/DDL
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
..
Metadata server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Permission few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
Relationship fix few bugs related to nested insert returning (fix #3609, #3642, #3271) (#3618) 2020-02-04 21:04:17 +05:30
Schema allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Action.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
ComputedField.hs incremental metadata: Clean up a few lingering loose ends 2020-01-08 17:19:03 -06:00
CustomTypes.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Deps.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
EventTrigger.hs fix update event trigger & dropping triggers on run_sql, fix #3803 #3784 (#3833) 2020-02-05 18:24:26 +05:30
Headers.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Metadata.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
Permission.hs Add check expresion to update permissions (close #384) (#3804) 2020-02-13 13:08:49 +05:30
QueryCollection.hs Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
Relationship.hs Add fast path for server internal metadata migrations (#3686) 2020-01-14 01:09:10 -06:00
RemoteSchema.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
Schema.hs server: prevent metadata checks in read-only mode (#4250) 2020-04-01 18:22:55 -05:00
Utils.hs Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -05:00