openfga / openfga/language

C# implementation of the language

Open
#501 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Motivation

A user working within the .NET ecosystem would benefit significantly from this feature, especially considering OpenFGA already provides a .NET SDK.
Having first-class language support for C# would complete the developer experience by allowing users to parse, transform and validate models without having to use the Open CLI for that - staying within their ecosystem.

Implementation Details and Acceptance Criteria

The suggested implementation approach is to define the C# grammar using ANTLR , consistent with other language implementations in this repository.

In order to be accepted, the new C# implementation must passes all existing shared tests defined within the repository to guarantee full compatibility with the OpenFGA syntax and specification.

It must also use the same conventions, workflows and documentation as the rest of the language implementations

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 by reviewing the existing language implementations, their ANTLR grammar approach, conventions, workflows, and documentation. Run the repository's shared tests while developing; done means a C# implementation that parses, transforms, and validates models, passes all shared tests, and follows the established language implementation practices.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.