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
The error message when parsing this is currently (as of 4.2.2)
× error parsing schema: An empty list was passed
This could be more clear. It also doesn't have any locating information, like a source location, or an indication of which action had the parsing problem.
Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
john-h-kastner-aws
added
papercut
Small annoyances in the Cedar SDK. Lower priority fixes than bugs. Smaller than a fature request
and removed
pending-triage
The cedar maintainers haven't looked at this yet. Automicaly added to all new issues.
feature-request
This issue requets a substantial new feature
labels
Nov 25, 2024
It seems a deeper issue is that parse errors thrown by lalrpop do not get access to the source string and hence cannot properly implement the label method.
We did adjust the lalrpop for the policy format to provide the source string (#516). Perhaps we need the same change in the schema-format lalrpop file.
We did adjust the lalrpop for the policy format to provide the source string (#516). Perhaps we need the same change in the schema-format lalrpop file.
There's certain part missing in the Cedar schema parser. I'm looking into it and see if we can reuse code for both parsers.
Category
Error message improvements
Describe the feature you'd like to request
For the following schema:
The error message when parsing this is currently (as of 4.2.2)
This could be more clear. It also doesn't have any locating information, like a source location, or an indication of which
action
had the parsing problem.Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: