Skip to content

Improve null safety in shipment rate calculations#75

Merged
ucrengineer merged 2 commits intomasterfrom
bug/fedex/shipment/recipient
May 20, 2025
Merged

Improve null safety in shipment rate calculations#75
ucrengineer merged 2 commits intomasterfrom
bug/fedex/shipment/recipient

Conversation

@ucrengineer
Copy link
Collaborator

Refactor the code to use FirstOrDefault() for accessing shipment rate details, enhancing null safety. Base charge, net charge, and surcharges are now assigned with null coalescing to default to 0m, improving robustness against null values.

Brandon Moffett added 2 commits May 19, 2025 20:06
Refactor the code to use FirstOrDefault() for accessing
shipment rate details, enhancing null safety. Base charge,
net charge, and surcharges are now assigned with null
coalescing to default to 0m, improving robustness against
null values.
Updated `next-version` from 6.3.4 to 6.3.5.
The increment type remains as `Patch`, indicating
backward-compatible bug fixes or minor improvements.
@ucrengineer ucrengineer merged commit d12609a into master May 20, 2025
1 check passed
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