Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

[FGA-198] Update raw FGA schema convert output so that it includes version#15

Merged
atainter merged 1 commit intomainfrom
at-schema-convert-bugfix
Dec 4, 2024
Merged

[FGA-198] Update raw FGA schema convert output so that it includes version#15
atainter merged 1 commit intomainfrom
at-schema-convert-bugfix

Conversation

@atainter
Copy link
Copy Markdown
Contributor

@atainter atainter commented Dec 4, 2024

Fixes issue where raw resource types output of workos fga schema convert could not be converted back to a schema.

Before

➜ workos fga schema convert schema.txt --output raw
[
        {
            "type": "user",
            "relations": {}
        }
    ]

After

➜ workos fga schema convert schema.txt --output raw
{
    "version": "0.2",
    "resource_types": [
        {
            "type": "user",
            "relations": {}
        }
    ]
}

@atainter atainter changed the title [FGA-194] Update raw FGA schema convert output so that it includes version [FGA-198] Update raw FGA schema convert output so that it includes version Dec 4, 2024
@linear
Copy link
Copy Markdown

linear bot commented Dec 4, 2024

@workos workos deleted a comment from linear bot Dec 4, 2024
@atainter atainter merged commit 85fdcab into main Dec 4, 2024
@atainter atainter deleted the at-schema-convert-bugfix branch December 4, 2024 21:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants