Hi there 👋 I am new to SpiceDB. I am trying to p...
# spicedb
u
Hi there 👋 I am new to SpiceDB. I am trying to play with it. I am running some integrations tests in NodeJS (using Jest) against
serve-testing
. At first, I need to write the schema (part of the globalSetup script). then, running the first test will always fail with
FAILED_PRECONDITION: object definition xxxx not found
(I imagine due to the fact that the schema is not yet created even though the
writeSchema
req returns successfully. 🤔 ) second test run and further always succeed, considering that the schema already created... how you approach it? where do you recommend syncing the schema changes here, to avoid such scenario 🤔 thanks
10 Views