Skip to content

fix: PO generator handles non-primitive RadioGroup value types gracef…#651

Open
sionans wants to merge 1 commit into
skarp-masterfrom
fix/pog-radiogroup-complex-value-types
Open

fix: PO generator handles non-primitive RadioGroup value types gracef…#651
sionans wants to merge 1 commit into
skarp-masterfrom
fix/pog-radiogroup-complex-value-types

Conversation

@sionans

@sionans sionans commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

PogRadioGroup.renderObjectValue() threw IllegalStateException when encountering RadioGroup values of complex types like SectorModel. Changes:

  • Add Number handling in renderObjectValue()
  • Add toString() fallback for unknown complex types instead of throwing
  • Fall back to String type parameter in acceptChildren() when the resolved value type is not Boolean, Enum, String, or Number

…ully

PogRadioGroup.renderObjectValue() threw IllegalStateException when
encountering RadioGroup values of complex types like SectorModel.
Changes:
- Add Number handling in renderObjectValue()
- Add toString() fallback for unknown complex types instead of throwing
- Fall back to String type parameter in acceptChildren() when the resolved
  value type is not Boolean, Enum, String, or Number
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.

1 participant