react-query-assist icon indicating copy to clipboard operation
react-query-assist copied to clipboard

Option to call out improperly structured queries

Open zsherman opened this issue 7 years ago • 2 comments

It might be nice in the same way we have a white underline for properly structured queries, to call out malformed tokens with a subtle red underline.

zsherman avatar Feb 23 '18 14:02 zsherman

Could be cool. What would constitute a malformed token? I could see a use case where someone is searching for an exact keyword in their logs that contains a colon, so it might look like they're trying to query a token when it's actually just a keyword.

jsonmaur avatar Feb 23 '18 21:02 jsonmaur

A malformed token may just be when the value doesn't match the attribute type. e.g. http_response.status:hello

jsonmaur avatar Mar 27 '18 15:03 jsonmaur