From 52a77a0bfe7f28587e8778d1e0754d70841d520b Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Mon, 5 Sep 2022 11:39:52 +0200 Subject: [PATCH] Add a missing changelog entry for error message changes to v2.10.0. ## Changelog This is the only change; please take a look. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5713 GitOrigin-RevId: fbc527ebc8dc78e98841c9b67e90f9e7f2102abb --- .prettierignore | 1 + CHANGELOG.md | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index ceec39c3a523c..9192564b3ab39 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ /.hlint.yaml +/CHANGELOG.md /server/tests-py/**/* diff --git a/CHANGELOG.md b/CHANGELOG.md index b38b6d64cfa95..f262438a6b376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -244,8 +244,29 @@ The way it works is: Please submit any feedback you may have for this feature at https://github.com/hasura/graphql-engine/issues/2768. -### Bug fixes and improvements +### Error message syntax + +We are slowly standardizing the format of error messages, especially with regards to the way values are quoted. + +Any errors generated during the parsing of GraphQL or the construction of the schema might have changed the way they quote certain values. For example, GraphQL names are now always quoted with single quotes, leading to changes such as the following. + +_Before:_ + +``` +field "nonexistent_root_field" not found in type: 'query_root' +``` +_After:_ + +``` +field 'nonexistent_root_field' not found in type: 'query_root' +``` + +If you are depending on the specific text of an error message and/or parsing the message, you may need to update your code accordingly. + +Further changes are forthcoming along similar lines. + +### Bug fixes and improvements - server: Kriti `basicFunctions` now available for REST Connectors and Webhook Transforms - server: Fix bug where Hasura SQL trigger was not dropped when MS SQL Server source is dropped