graphql-engine/server/src-lib
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
..
Control server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00
Data move NonEmptyText out of RQL.Types.Common (#6086) 2020-10-29 00:04:21 +00:00
Hasura use only required session variables in multiplexed queries for subscriptions (#4329) 2020-11-03 13:45:22 +05:30
Network server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00