docs: add v2 computed field typename breaking change

https://github.com/hasura/graphql-engine-mono/pull/1585

GitOrigin-RevId: 41ae0c657f9d1851d0bce6a009c843b0f903e93b
This commit is contained in:
Rikin Kachhia 2021-06-16 14:35:26 +05:30 committed by hasura-bot
parent b6b1354a2b
commit d8d62f19e2
2 changed files with 6 additions and 2 deletions

View File

@ -149,8 +149,7 @@ Set up :ref:`Hasura migrations <migrations_setup>` to track your database altera
Secure your endpoint
^^^^^^^^^^^^^^^^^^^^
:ref:`Add an admin secret <secure_project>`
to make sure that your GraphQL endpoint and the Hasura console are not publicly accessible.
:ref:`Add an admin secret <docker_secure>` to make sure that your GraphQL endpoint and the Hasura console are not publicly accessible.
Advanced Docker setup
---------------------

View File

@ -82,6 +82,11 @@ Breaking behaviour changes
as an object. To achieve the expected behaviour, the following query ``fetch_users(order_by: [{age: desc}, {name: asc}]) {id name age}`` should
be used which uses an array to define the order of fields to generate the appropriate ``order by`` clause.
- **Type name for computed fields' input argument has changed**
The name of the computed field input argument has changed from `<function_name>_args` to `<computed_field_name>_<table_name>_args`. This change
enables adding a root-level tracked function as a computed field which previously would have thrown an input type conflict error.
- **Incompatibility with older Hasura version remote schemas**
With v2.0, some of the auto-generated schema types have been extended. For example, ``String_comparison_exp`` has an additional ``regex`` input