Permify to handle the ERROR_CODE_UNIQUE_CONSTRAINT error more gracefully. Instead of failing, Permify should proceed to add the relationships and return a new snapshot token. This way, we can maintain the integrity of our process, even in the event of a retry scenario.
This change will avoid the misleading notification to the other system and ensure more consistent and reliable operation.
Permify to handle the ERROR_CODE_UNIQUE_CONSTRAINT error more gracefully. Instead of failing, Permify should proceed to add the relationships and return a new snapshot token. This way, we can maintain the integrity of our process, even in the event of a retry scenario.
This change will avoid the misleading notification to the other system and ensure more consistent and reliable operation.