Skip to content

Change Order.payments and Order.refunds properties to nullable#65

Draft
antweb wants to merge 2 commits intomasterfrom
redacted-order
Draft

Change Order.payments and Order.refunds properties to nullable#65
antweb wants to merge 2 commits intomasterfrom
redacted-order

Conversation

@antweb
Copy link
Collaborator

@antweb antweb commented Nov 27, 2025

Follow-up to #59.

The corresponding JSON values are only synced conditionally and using fallback values of empty JSON arrays can lead to bugs and confusion. The new null value will allow us to check whether the values have been redacted during sync and log errors whenever we encounter this in an unexpected code path.

The corresponding JSON values are only synced conditionally and using
fallback values of empty JSON arrays can lead to bugs and confusion.
The new null value will allow us to check whether the values have been
redacted during sync and log errors whenever we encounter this in an
unexpected code path.

See #59
Base automatically changed from fix-discount to master December 2, 2025 14:56
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