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

[FGA-98] Add schema convert and schema apply to FGA module#13

Merged
atainter merged 6 commits intomainfrom
at-convert-schemas
Aug 28, 2024
Merged

[FGA-98] Add schema convert and schema apply to FGA module#13
atainter merged 6 commits intomainfrom
at-convert-schemas

Conversation

@atainter
Copy link
Copy Markdown
Contributor

@atainter atainter commented Aug 28, 2024

Usage:
Convert a schema to json

workos fga schema convert ./schema.txt --to json 

Write to a file

./bin/workos-cli fga schema convert ./schema.txt --to json --output raw > test.json

Apply a schema

workos-cli fga schema apply ./schema.txt

Apply a schema with verbose output and fail on warnings

workos-cli fga schema apply ./schema.txt -v --strict

@linear
Copy link
Copy Markdown

linear bot commented Aug 28, 2024

@atainter atainter merged commit d46f62c into main Aug 28, 2024
@atainter atainter deleted the at-convert-schemas branch August 28, 2024 23:39
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