Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

atainter
Copy link
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
Copy link

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
2 checks passed
@atainter atainter deleted the at-schema-convert-bugfix branch December 4, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants