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

LSP not parsing .all() syntax #20

Open
mateenkasim opened this issue Oct 7, 2024 · 6 comments
Open

LSP not parsing .all() syntax #20

mateenkasim opened this issue Oct 7, 2024 · 6 comments
Labels
kind/bug Something is broken or regressed

Comments

@mateenkasim
Copy link

What platforms are affected?

macos

What architectures are affected?

arm64

What SpiceDB version are you using?

Latest version of the VSCode extension, 0.0.7: https://marketplace.visualstudio.com/items?itemName=authzed.spicedb-vscode

Steps to Reproduce

Just following https://authzed.com/docs/spicedb/concepts/schema#all-intersection-arrow:

definition file {
  relation project: project

  permission access = project.all(access)
}

Expected Result

Validates properly

Actual Result

image
@mateenkasim mateenkasim added the kind/bug Something is broken or regressed label Oct 7, 2024
@tstirrat15
Copy link
Contributor

I'm gonna transfer this to the spicedb-vscode repo.

@tstirrat15 tstirrat15 transferred this issue from authzed/spicedb Oct 8, 2024
@tstirrat15
Copy link
Contributor

I'm at an offsite right now but I'll take a look at this soon.

@tstirrat15
Copy link
Contributor

It should be sufficient to update the version in download-wasm and regenerate.

@tstirrat15
Copy link
Contributor

@mateenkasim I've cut https://github.com/authzed/spicedb-vscode/releases/tag/v1.0.0. Does that solve your problem?

@mateenkasim
Copy link
Author

Unfortunately it did not :/

Also fyi, I got this warning when updating:
image

@tstirrat15
Copy link
Contributor

@mateenkasim thank you for checking! I'll look into that on monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken or regressed
Projects
None yet
Development

No branches or pull requests

2 participants