Skip to content

Commit 2a71506

Browse files
jsteemannSimran-B
andauthored
documentation about warnings attribute change (#272)
* documentation about `warnings` attribute change * Review --------- Co-authored-by: Simran Spiller <[email protected]>
1 parent f841b09 commit 2a71506

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ for details.
100100
The `GET /_api/query/rules` endpoint now includes a `description` attribute for
101101
every optimizer rule that briefly explains what it does.
102102

103+
#### Query parsing API
104+
105+
The `POST /_api/query` endpoint for parsing AQL queries now unconditionally
106+
returns the `warnings` attribute, even if no warnings were produced while parsing
107+
the query. In that case, `warnings` contains an empty array.
108+
In previous versions, no `warnings` attribute was returned when parsing a query
109+
produced no warnings.
110+
103111
### Endpoints moved
104112

105113

0 commit comments

Comments
 (0)