openfga / openfga/language

Investigate whether $ should be allowed in type restriction

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
35
Forks
17
Avg merge
48m
Merged PRs (30d)
10

Description

See https://github.com/openfga/syntax-transformer/pull/95#discussion_r1024192706 , we want to revisit whether $ should be only allowed on relations, not types in the DSL.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked syntax-transformer pull request discussion and inspect the language grammar for type restrictions. Determine whether the DSL should permit $ on types or only on relations, then identify the relevant parser tests or grammar cases and update the expected behavior once the decision is made.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.