Bug fixes in GROQ implementation
Published: June 28, 2021
v2021-03-25
GROQ
This release fixes smaller bugs for GROQ v2021-03-25.
- Fixes a bug where dereferencing inside sliced arrays (e.g.
*[_type == "book"]{"authors": authors[0...2]{era->}}) would return incorrect result. - Fixes a bug where scoping was incorrect while dereferencing arrays:
*[_type == "book"]{"authors": authors[]->{..., "bookName": ^.name}} selectnow produces a query error when given invalid arguments. Examples of invalid arguments areselect(title, title2)(multiple fallback values) andselect(title, isGood => title2)(alternatives after the fallback)