Repository navigation
Conversation
Add bank accounts modeling for account musig rest api (cherry picked from commit 88977fe)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (9)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review. WalkthroughThe API adds National Bank and Same Bank account payloads, deserialization, account creation mappings, and mappings from account models to payment-account DTOs. ChangesFiat Account API
Priority: ⬆️ High Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant CreatePaymentAccountDtoDeserializer
participant CreatePaymentAccountDtoMapping
participant NationalBankAccountDtoMapping
participant SameBankAccountDtoMapping
participant NationalBankAccount
participant SameBankAccount
CreatePaymentAccountDtoDeserializer->>CreatePaymentAccountDtoMapping: select payload type for payment rail
alt NATIONAL_BANK
CreatePaymentAccountDtoMapping->>NationalBankAccountDtoMapping: convert creation payload
NationalBankAccountDtoMapping->>NationalBankAccount: create account
else SAME_BANK
CreatePaymentAccountDtoMapping->>SameBankAccountDtoMapping: convert creation payload
SameBankAccountDtoMapping->>SameBankAccount: create account
end
Merge Risk: ⚪ Minimal · up to No unresolved issue has been identified that would prevent merging the National Bank and Same Bank account support after normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checked the bank rails at dawn, Comment |
Sync of #4812 from
for-mobile-based-on-2.1.11tomain. Predates the sync workflow, so it was never forwarded. Pure additions: national-bank and same-bank account DTOs with their mappings and dispatch registrations. Bisq Connect's payment-accounts feature depends on them, so a 2.1.14 node without this rejects adding those account types from the app.Summary by CodeRabbit