Skip to content

Add URI to String built-in conversions#4019

Merged
filiphr merged 2 commits into
mapstruct:mainfrom
mk868:uri-to-string-conversions
Mar 27, 2026
Merged

Add URI to String built-in conversions#4019
filiphr merged 2 commits into
mapstruct:mainfrom
mk868:uri-to-string-conversions

Conversation

@mk868

@mk868 mk868 commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Currently, I'm working on a project that requires mapping the domain's URI fields to the API's String fields.

This transformation is similar to the built-in mappings between:

  • UUID <-> String
  • URL <-> String

Fixes #4018

@filiphr filiphr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, only one small grammar change for the docs

Comment thread documentation/src/main/asciidoc/chapter-5-data-type-conversions.asciidoc Outdated
@filiphr filiphr merged commit 9aea5a8 into mapstruct:main Mar 27, 2026
5 checks 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.

Add built in conversion between URI and String

2 participants