Skip to content

What's the utility of storing assertions in OpenFGA? #66

Answered by aaguiarz
vhpoet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vhpoet

Assertions exist to support Playground-like scenarios, were you don't have another place to store the check() calls you want do do.

For a real world scenario, you would run check() from your unit tests suite instead of using assertions.

Does it make sense?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vhpoet
Comment options

Answer selected by vhpoet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants