graphql-engine/server/src-lib/Hasura/GraphQL/Execute
Karthikeyan Chinnakonda f967a4b22e Server: fix query actions issue used with relationship and configured with permissions
Fixes https://github.com/hasura/graphql-engine/issues/6385

In the v1.3.4-beta.2 version, the SQL generated for a query action containing relationship and configured with permissions parsed the `x-hasura-user-id` session variable value through the `hasura.user` postgres setting instead of passing the session variables as an JSON object to the query as it was in v1.3.3.

This PR fixes the SQL generation to that of v1.3.3

Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 838ba812f89b51df7fcead81b9d3c2885dfa39b4
2021-01-12 12:04:21 +00:00
..
LiveQuery server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Action.hs Server: fix query actions issue used with relationship and configured with permissions 2021-01-12 12:04:21 +00:00
Common.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Inline.hs server: allow fragments to use variables (fix hasura/graphql-engine#6303) (#225) 2020-12-22 10:42:34 +00:00
Insert.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
LiveQuery.hs server: accept only non-negative integers for batch size and refetch interval (close #5653) (#5759) 2020-09-17 10:56:41 +00:00
Mutation.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Plan.hs Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
Prepare.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Query.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Remote.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Resolve.hs remove SQL.Text, clean text functions 2020-10-22 14:07:48 +01:00
Types.hs Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00