Abby Sassel
9d93baa96f
server/postgres: parameterise array variables in queries/subscriptions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4776
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: ca962e3bfaa28ef00c5d04273d6604348d7da1c8
2022-06-29 13:37:11 +00:00
Karthikeyan Chinnakonda
2325755954
server: streaming subscriptions schema generation and tests (incremental PR - 3)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4259
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 4d1b4ec3c01f3a839f4392d3b77950fc3ab30236
2022-04-22 19:54:11 +00:00
Philip Lykke Carlsen
23520f67d0
( Fix #8267 ) Handle subscriptions in MSSQL when results exceed 2048 characters
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3959
GitOrigin-RevId: ea037c9dc4392d1b98ee086f6c87f79ce8ea5c8f
2022-03-21 12:16:14 +00:00
David Overton
aac64f2c81
Source typename customization (close graphql-engine#6974)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1616
GitOrigin-RevId: f7eefd2367929209aa77895ea585e96a99a78d47
2021-10-29 14:43:14 +00:00
Evie Ciobanu
e48ccd7fab
server: Check session variables for subscriptions
...
https://github.com/hasura/graphql-engine-mono/pull/1879
GitOrigin-RevId: 78d3384cb21a36e8b8c85c17ae7578ce0b4230f8
2021-07-30 21:42:52 +00:00
Abby Sassel
41908936cf
server: improve backend-specific test setup
...
GitOrigin-RevId: c40393bcdd78feaba7e9490ce4ed78de19b5bfc5
2021-05-25 13:55:11 +00:00
Anon Ray
63594e1828
server: fix referenced session vars for live queries when UDF has specified session argument
...
GitOrigin-RevId: 23efdf4d3b3902b5ce7ec14061faa53b18258e86
2021-05-24 07:34:33 +00:00
Abby Sassel
1e45580e7c
server/mssql: fix subscriptions ( fixes #6887 )
...
GitOrigin-RevId: 0d0184bd910400ea3a48a650fc61391fa8fd5518
2021-05-10 10:18:45 +00:00
Abby Sassel
703928de9f
mssql: support query multiplexing in subscriptions
...
GitOrigin-RevId: 757ceba2c1cdb1107ce0b0e41d2e70ac795d0d73
2021-04-20 16:58:13 +00:00
Swann Moreau
5bc0355bdd
[server] coalesce multiple run_sql calls in tests ( #270 )
...
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
2021-01-06 16:07:22 +00:00
Vamshi Surabhi
98c853f4f7
use only required session variables in multiplexed queries for subscriptions ( #4329 )
...
* use only required session variables in multiplexed queries for subscriptions
This will reduce the load on Postgres when the result of a subscription
is not dependent on the session variables of the request
* add DerivingVia to the project wide extension list
* expose a more specific function to filter session variables
* improve documentation of session variables of a cohort
Co-Authored-By: Alexis King <lexi.lambda@gmail.com>
* fix bad rebase
* add test for checking only required session variables are used to make query
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
2020-11-03 13:45:22 +05:30
Alexis King
18e8fbab1b
Parameterize all SQL values when multiplexing subscription queries ( #2942 )
...
Also, add support for explaining subscriptions while we’re at it.
2019-09-30 14:50:57 -05:00
Alexis King
54e6439579
Change the way we determine whether or not queries are reusable
...
This fixes an issue where queries could incorrectly be considered
reusable if a variable was used in two positions: one where it affected
SQL generation and one where it did not.
2019-09-16 22:00:46 -05:00
Aravind Shankar
729b56dd20
live queries tests for subscription ( #487 )
2018-09-20 07:16:03 +05:30