-
It seems like the workflow of working with assertions is Writing them to OpenFGA, and then Reading and running a Check on each individual one. In a real world scenario I would probably have the assertions and the model stored in a git repo before pushing anything to OpenFGA in which case I can just run Check on these assertions without needing to push them to OpenFGA first. Am I missing something obvious here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @vhpoet Assertions exist to support Playground-like scenarios, were you don't have another place to store the For a real world scenario, you would run Does it make sense? |
Beta Was this translation helpful? Give feedback.
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?