#Initial Relations

1 messages · Page 1 of 1 (latest)

worldly venture
#

Hi @quaint oxide, you can create relation tuples bulky with single writeAPI call. This is the only option right now to seed initial relations.

#

If you have an alternative idea we can discuss

#

Initial Relations

quaint oxide
#

Yeah I saw the tuples was an array so was thinking we'd use that to setup in one call as you mentioned.

Thanks for the clarification that this is the best approach right now.

quaint oxide
#

Just a question around this a bit. When writing to the schema, does it wipe out all existing relations or apply a merge?

I was just thinking initially we'd write the schema if it doesn't exist to include a system admin relation reference so they can start creating users. If it does exist, we merely want to update the schema with the delta changes.

#

I think its a matter of the approach we should take every time a schema changes. Do relations get wiped and need to re-applied with each schema change?