openfga / language

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

fix: Missing metadata on invalid-relation-type #211

Closed d-jeffery closed 3 months ago

d-jeffery commented 3 months ago

Description

image

Can be replicated with given module

module employee

type employe
  relations
    define can_manage: manager or can_manage from manager
    define manager: [employee]

References

Working

image

Review Checklist

d-jeffery commented 3 months ago

Tested this out and found that the line numbers are incorrect. Will see if I can replicate in the tests.