Skip to content

move HolderSet wrapping to TypeWrappers - #1169

Open
LLytho wants to merge 1 commit into
kube-mods:2601from
LLytho:2601
Open

move HolderSet wrapping to TypeWrappers#1169
LLytho wants to merge 1 commit into
kube-mods:2601from
LLytho:2601

Conversation

@LLytho

@LLytho LLytho commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

fixes HolderSet wrapping when regex is being used after kube-mods/rhino@d46e972

@MaxNeedsSnacks

Copy link
Copy Markdown
Member

nice, thank you; can you create a version for 1.21 as well, or rebase this onto that?

public int internalConversionWeightLast(Object fromObj, TypeInfo target) {
var c = target.asClass();

if (c == Optional.class || c == ResourceKey.class || c == Holder.class || c == HolderSet.class || c == TagKey.class || c == Holder.Reference.class) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should HolderSer be removed from here?

@MaxNeedsSnacks MaxNeedsSnacks Aug 9, 2026

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.

actually, yeah it probably should; we probably don't ever even reach this path anymore thanks to the type wrapper

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.

3 participants