Skip to content

Commit be6a113

Browse files
committed
Update documentation of BulkImportRelationshipsRequest
1 parent 830feed commit be6a113

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

authzed/api/v1/permission_service.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,9 @@ message ResolvedSubject {
670670
// ImportBulkRelationshipsRequest represents one batch of the streaming
671671
// ImportBulkRelationships API. The maximum size is only limited by the backing
672672
// datastore, and optimal size should be determined by the calling client
673-
// experimentally.
673+
// experimentally. Any relationships within the same request are guaranteed to
674+
// be written in a single transaction. If any of the relationships already
675+
// exist, the transaction will fail and no relationships will be written.
674676
message ImportBulkRelationshipsRequest {
675677
repeated Relationship relationships = 1
676678
[ (validate.rules).repeated .items.message.required = true ];

0 commit comments

Comments
 (0)