graphql-engine/server/tests-py/queries/subscriptions/multiplexing
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
..
articles_query.yaml use only required session variables in multiplexed queries for subscriptions (#4329) 2020-11-03 13:45:22 +05:30
query.yaml Parameterize all SQL values when multiplexing subscription queries (#2942) 2019-09-30 14:50:57 -05:00
setup.yaml use only required session variables in multiplexed queries for subscriptions (#4329) 2020-11-03 13:45:22 +05:30
teardown.yaml use only required session variables in multiplexed queries for subscriptions (#4329) 2020-11-03 13:45:22 +05:30