Skip to content

Added factory method for initializing WrappedDataValue#2523

Merged
dmulloy2 merged 1 commit intodmulloy2:masterfrom
lukalt:wrapped-data-value
Aug 26, 2023
Merged

Added factory method for initializing WrappedDataValue#2523
dmulloy2 merged 1 commit intodmulloy2:masterfrom
lukalt:wrapped-data-value

Conversation

@lukalt
Copy link
Copy Markdown
Contributor

@lukalt lukalt commented Aug 26, 2023

Adds a new factory method for directly initializing a WrappedDataValue with a wrapped value, e.g. WrappedChatComponent. Previously, this required to first create a new instance with the value null and then to set the wrapped value using the setValue(Object) method.
I also extended the documentation a bit to make things more clear.

@dmulloy2 dmulloy2 merged commit 8fc5e50 into dmulloy2:master Aug 26, 2023
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.

2 participants