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
The readme says this library doesn’t have a way to represent JSON object literals for the literal expression, due to a jsep limitation. Perhaps there could be an inline notation such as object(key1, value1, key2, value2, …).
There are a few error conditions to consider:
Duplicate keys
An odd number of arguments to the function
Keys that aren’t strings
Besides literal, an object literal syntax is needed because mapbox/mapbox-gl-js#6270 introduced a Collator object type that can be passed into various comparison expressions.
The readme says this library doesn’t have a way to represent JSON object literals for the
literal
expression, due to ajsep
limitation. Perhaps there could be an inline notation such asobject(key1, value1, key2, value2, …)
.There are a few error conditions to consider:
Besides
literal
, an object literal syntax is needed because mapbox/mapbox-gl-js#6270 introduced aCollator
object type that can be passed into various comparison expressions./cc @dasulit @davidtheclark @samanpwbb @anandthakker @ChrisLoer
The text was updated successfully, but these errors were encountered: