Skip to content

fix: honor custom converters registered for a type with an existing built-in converter on write - #1103

Open
roysti10 wants to merge 1 commit into
apache:mainfrom
roysti10:fix-FESOD-1102
Open

roysti10 wants to merge 1 commit into
apache:mainfrom
roysti10:fix-FESOD-1102

Conversation

@roysti10

Copy link
Copy Markdown

Purpose of the pull request

Closed: #1102

What's changed?

Custom converters registered via registerConverter() were silently ignored on write for any type with an existing built-in converter because they were stored under a different map key than the one the write-time lookup actually searches.

Fixed AbstractWriteHolder to also register custom converters under the key the lookup uses

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • [ x I have added the necessary unit tests and all cases have 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

1 participant