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
{{ message }}
Repository navigation
referenceText should not emit invalid MQL for unsafe field names #709
toFieldCompletionItems() currently emits referenceText as $ + field path for every field. That breaks for field names that are not safe as a plain $field reference, such as:
order-items
my field
say"hi"
Expected: unsafe names should not produce a broken aggregation reference.
Current: the completion data exposes an invalid referenceText, which can lead to bad MQL if consumed directly.
Notes
This was documented as future work in src/utils/json/data-api/autocomplete/future-work.md.
Activity
Fix referenceText to not emit invalid MQL for unsafe field names (fixes
Fix referenceText to not emit invalid MQL for unsafe field names (fixes