sanity-io / GROQ

Specification for GROQ - The Query Language for JSON
https://groq.dev
MIT License
398 stars 15 forks source link

global::operation() or delta::operation() #111

Closed saiichihashimoto closed 8 months ago

saiichihashimoto commented 1 year ago

sanity shows the operation() function under the delta namespace

image

The GROQ spec shows the operation function under the global namespace

image

groq-js has it under the delta namespace

image

What's the truth? And can we get this all consolidated?

https://github.com/sanity-io/groq-js/issues/140

judofyr commented 1 year ago

Nice catch! Does https://github.com/sanity-io/GROQ/pull/114 look good?

saiichihashimoto commented 1 year ago

Looks good to me!