EMP-74: Introduces destination_field scope (#154)
Some checks are pending
Frontend: Publish / configured (push) Waiting to run
Frontend: Publish / Publish (push) Blocked by required conditions
Java deploy / deploy (push) Waiting to run

This commit is contained in:
Aleksey Kashapov 2024-10-29 13:56:45 +03:00 committed by GitHub
parent ad715bd647
commit 7ed2112a65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,10 +118,24 @@ union LimitScopeType {
*/
9: LimitScopeEmptyDetails sender
10: LimitScopeEmptyDetails receiver
/**
* Scope for operations with destination's generic resource fields.
* See damsel's "base.Content" https://github.com/valitydev/damsel/blob/ad715bd647bc5cfa822e2b09b1329dab6a2bf295/proto/base.thrift#L20-L25
* and it's example with generic payment tool https://github.com/valitydev/damsel/blob/ad715bd647bc5cfa822e2b09b1329dab6a2bf295/proto/domain.thrift#L1816-L1836
*/
11: LimitScopeDestinationFieldDetails destination_field
}
struct LimitScopeEmptyDetails {}
/**
* TODO Support universal context-based field selector
*/
struct LimitScopeDestinationFieldDetails {
1: required list<string> field_path
}
struct OperationLimitBehaviour {
1: optional OperationBehaviour invoice_payment_refund
}