You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that --primary is no longer there, and that that is the culprit. I say that because the query works as expected when we use jq instead of groq's --primary flag:
At https://www.sanity.io/blog/we-re-open-sourcing-groq-a-query-language-for-json-documents we see the query
$ groq '*[gender == "female" && "physics" in prizes[].category]{firstname, surname}' \ --url http://api.nobelprize.org/v1/laureate.json \ --pretty --primary laureates
resulting in
but today it prints
null
.It appears that
--primary
is no longer there, and that that is the culprit. I say that because the query works as expected when we usejq
instead ofgroq
's--primary
flag:The text was updated successfully, but these errors were encountered: