graphql-engine/server/src-lib/Hasura/RQL/DDL
Rakesh Emmadi 6f100e0009
improve debug information in actions errors response (close #4031) (#4432)
* config options for internal errors for non-admin role, close #4031

More detailed action debug info is added in response 'internal' field

* add docs

* update CHANGELOG.md

* set admin graphql errors option in ci tests, minor changes to docs

* fix tests

Don't use any auth for sync actions error tests. The request body
changes based on auth type in session_variables (x-hasura-auth-mode)

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* use a new sum type to represent the inclusion of internal errors

As suggested in review by @0x777
-> Move around few modules in to specific API folder
-> Saperate types from Init.hs

* fix tests

Don't use any auth for sync actions error tests. The request body
changes based on auth type in session_variables (x-hasura-auth-mode)

* move 'HttpResponse' to 'Hasura.HTTP' module

* update change log with breaking change warning

* Update CHANGELOG.md

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 13:25:51 +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 fix recreating action's permission, fix #4377 (#4495) 2020-04-22 11:29:14 +05:30
ComputedField.hs incremental metadata: Clean up a few lingering loose ends 2020-01-08 17:19:03 -06:00
CustomTypes.hs fix creating relationships for custom object types with fields reusing Postgres scalars (fix #4447) (#4455) 2020-04-24 10:58:42 +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 improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +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: Improve queryModifiesSchemaCache check for run_sql (#4283) 2020-04-22 16:03:23 -05:00
Utils.hs Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -05:00