Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect formatting for graph query #272

Closed
ioannist opened this issue May 14, 2024 · 2 comments
Closed

Incorrect formatting for graph query #272

ioannist opened this issue May 14, 2024 · 2 comments
Labels
bug Something isn't working syntax

Comments

@ioannist
Copy link

Describe the bug
The following query has its formatting messed up

SELECT <-mb_hasInBlock FROM mb_relation:['parachainstaking','topdelegations', NONE, NONE, NONE]..=['parachainstaking','topdelegations'] LIMIT 1000;

To Reproduce
Just paste the above query to surrealist

Expected behavior
Color formatting should be correct

Environment:

Platform: Desktop
OS: Windows_NT
Architecture: x86_64
WebView: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
Version: 2.0.6
Flags: featureFlags: false, models_view: true, apidocs_view: true, themes: false, newsfeed: true

@ioannist ioannist added the bug Something isn't working label May 14, 2024
@kearfy
Copy link
Member

kearfy commented May 15, 2024

Idiom paths are currently not supported by the grammar as implementing them caused a number of issues. I need to find some time to properly look at it again. Thanks for reporting!

@kearfy kearfy added the syntax label May 15, 2024
@macjuul
Copy link
Contributor

macjuul commented May 31, 2024

This has been resolved in the 2.1 release

@macjuul macjuul closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working syntax
Projects
None yet
Development

No branches or pull requests

3 participants