graphql-engine/server/tests-py/queries/v1/computed_fields/teardown.yaml
Auke Booij ee7c7b1672
server: allow computed fields to have access to Hasura's session variables (fix #3846) (#4486)
* Allow computed fields to have access to Hasura's session variables

* Inform about session args for computed fields in changelog and docs

* Add tests for session arguments for computed fields (and the respective errors)

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
2020-04-27 17:07:03 +02:00

14 lines
358 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
DROP FUNCTION hello_world();
DROP FUNCTION fetch_articles(text, author);
DROP FUNCTION fetch_articles_volatile(text, author);
DROP FUNCTION full_name(author);
DROP FUNCTION test_session(author, text, json);
DROP TABLE article;
DROP TABLE author;
cascade: true