Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Circe's deepDropNullValues instead of withoutNull #27673

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

JamieB-gu
Copy link
Contributor

DotcomRenderingUtils.withoutNull is not recursive, therefore nested null fields make it through to DCAR, causing validation errors.

Issue introduced in #27641.

`DotcomRenderingUtils.withoutNull` is not recursive, therefore nested `null` fields make it through to DCAR, causing validation errors.
@JamieB-gu JamieB-gu requested a review from a team as a code owner December 13, 2024 18:40
@JamieB-gu JamieB-gu self-assigned this Dec 13, 2024
@JamieB-gu JamieB-gu merged commit 95dea82 into main Dec 13, 2024
6 checks passed
@JamieB-gu JamieB-gu deleted the use-circe-deep-drop-null-values-not-without-null branch December 13, 2024 18:50
@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @JamieB-gu 12 minutes and 3 seconds ago)

@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @JamieB-gu 13 minutes and 8 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants