openfga / language

Grammar for the OpenFGA modeling language
https://openfga.dev
Apache License 2.0
18 stars 7 forks source link

fix: Added correct failure messages to existing, failing tests #33

Closed d-jeffery closed 1 year ago

d-jeffery commented 1 year ago

Description

References

Review Checklist

d-jeffery commented 1 year ago

Is the expectedError correct now? Are we returning the proper errors?

No, I was going to leave in the metadata until after adding the validation entrypoint, as I will need to try-catch transformDslToJSON in the jest suite otherwise.

I can add the proper errors, line and col fields prior to the validation PR if preferred.