mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
c4536e801c
Prior to this change, the SQL expression that resulted from translating permissions on functions would refer to the table of the function's return type, rather than the set of rows selected from the function being called. Now the SQL that results from translating permissions correctly refer to the selected rows. This PR also contains the suggested additions of https://github.com/hasura/graphql-engine-mono/pull/2563#discussion_r726116863, which simplifies the Boolean Expression IR, but in turn makes the Schema Dependency Discovery algorithm work a bit harder. We are changing the definition of `data OpExpG`, but the format accepted by its JSON parser remains unchanged. While there does exist a generically derived `instance ToJSON OpExpG` this is only used in the (unpublished) `/v1/metadata/dump_internal_state` API. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2609 Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com> GitOrigin-RevId: bb9a0b4addbc239499dd2268909220196984df72 |
||
---|---|---|
.. | ||
permissions | ||
alter_function_error.yaml | ||
overloading_function_error.yaml | ||
query_get_session_var.yaml | ||
query_get_test_session_id.yaml | ||
query_get_test_uuid.yaml | ||
query_get_users_arguments_error.yaml | ||
query_get_users_default_arguments_error.yaml | ||
query_get_users.yaml | ||
query_my_add.yaml | ||
query_search_author_mview.yaml | ||
query_search_posts_aggregate.yaml | ||
query_search_posts.yaml | ||
setup.yaml | ||
teardown.yaml | ||
track_customised_names.yaml | ||
track_function_v2_errors.yaml | ||
track_non_base_function_arg_type.yaml |