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

bug: Surreal 2.0 syntax tracking issue & other issues #20

Open
2 of 15 tasks
AlbertMarashi opened this issue Sep 24, 2024 · 2 comments
Open
2 of 15 tasks

bug: Surreal 2.0 syntax tracking issue & other issues #20

AlbertMarashi opened this issue Sep 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@AlbertMarashi
Copy link

AlbertMarashi commented Sep 24, 2024

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-surrealql

Describe the bug

  • DEFINE INDEX OVERWRITE overwrite syntax
  • DEFINE TABLE OVERWRITE overwrite syntax
  • DEFINE FIELD OVERWRITE overwrite syntax
  • DEFINE ACCESS database access statement
  • Typed Literals on DEFINE FIELD abc ON foo TYPE {literal_type}
    • Object literals
    • Array literals
    • String literals
    • Duration literals
    • uuid literals
    • Nested literals (eg: array<"foo"> or array<{ baz: "foo" }>)
  • UPSERT statement

Not 2.0 related:

  • CONTAINS keyword within conditional expressions
DEFINE TABLE OVERWRITE user SCHEMAFULL
    PERMISSIONS
        FOR SELECT
            WHERE id = $auth
            OR ->member->organisation<-member<-user CONTAINS $auth
@AlbertMarashi AlbertMarashi added the bug Something isn't working label Sep 24, 2024
@Ce11an
Copy link
Owner

Ce11an commented Sep 24, 2024

Hey 👋🏻

Thanks for opening an issue. As this project is a work in progress there are many aspects of SurQL missing. Feel free to open a PR. If not, I'll keep this in mind the next time I'm free to work on it 🙂

@AlbertMarashi
Copy link
Author

@Ce11an no problem, I may create a PR for it at some stage when I get the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants