mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-30 19:06:41 +03:00
ee7c7b1672
* 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>
14 lines
358 B
YAML
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
|