openfga / language

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

Duplicate relation error is being marked @ <EOF> instead of correct line/character location #66

Closed d-jeffery closed 11 months ago

d-jeffery commented 1 year ago

https://github.com/openfga/language/blob/0b5d1ba572fb200f1c3b444682179e72c84c5608/pkg/js/transformer/dsltojson.ts#L140-L146

Need to provide accurate line and char location for exception.