Skip to content

Conversation

@julia-truss
Copy link
Collaborator

No description provided.

"receivedPayment.created": lambda _id, _type, attributes, relationships:
ReceivedPaymentCreatedEvent.from_json_api(_id, _type, attributes, relationships),

"writeOffTransaction": lambda _id, _type, attributes, relationships:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these not getting sent as transaction.created events?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codec resolves any unlisted types as a generic RawUnitObject. We should still be processing it appropriately but I'll add a test in our app to make sure.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, so what was happening here? Was there an error?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I'm just adding the DTO to be used in some tests mocking the transaction.

@julia-truss julia-truss merged commit 510df64 into master Nov 13, 2025
1 check failed
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.

4 participants