Skip to content

Isolated dto API showcase#1542

Draft
banderous wants to merge 7 commits intomasterfrom
isolated-dto-createpossessionclaim-master
Draft

Isolated dto API showcase#1542
banderous wants to merge 7 commits intomasterfrom
isolated-dto-createpossessionclaim-master

Conversation

@banderous
Copy link
Copy Markdown
Contributor

No description provided.

Alex McAusland and others added 6 commits March 19, 2026 13:43
Replace PCSCase god class usage with a focused CreateClaimData DTO
for the CreatePossessionClaim event. The DTO contains only the fields
needed by this event (address, legislative country, fee amount, etc.)
instead of the full 700+ field case class.

- Add CreateClaimData DTO class with @Data/@builder
- Update CreatePossessionClaim to use decentralisedEvent DTO overload
- Update all 5 page classes to accept EventBuilder<CreateClaimData>
  instead of PageBuilder (no longer implement CcdPageConfiguration)
- Update tests with DTO helper methods in BaseEventTest/BasePageTest
- All field prefixing, show conditions, and label references handled
  automatically by the SDK

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@banderous banderous force-pushed the isolated-dto-createpossessionclaim-master branch from 5447b29 to 80794a6 Compare March 19, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant