mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-13 09:17:21 +03:00
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:
parent
b6b1354a2b
commit
d8d62f19e2
@ -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
|
||||
---------------------
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user