Skip to content

Conversation

@kevinherron
Copy link
Contributor

Add automatic decoding of ExtensionObject values when retrieving properties through UaNode.getProperty(QualifiedProperty). Handles scalar, array, and matrix ExtensionObject types by decoding them to their underlying structured types using the encoding context.

  • Decode scalar ExtensionObject to the target type
  • Decode ExtensionObject[] arrays to typed arrays
  • Decode Matrix containing ExtensionObject elements
  • Add test coverage for all three scenarios using XVType properties

fixes #1662

Add automatic decoding of ExtensionObject values when retrieving properties through `UaNode.getProperty(QualifiedProperty)`. Handles scalar, array, and matrix ExtensionObject types by decoding them to their underlying structured types using the encoding context.

- Decode scalar ExtensionObject to the target type
- Decode ExtensionObject[] arrays to typed arrays
- Decode Matrix containing ExtensionObject elements
- Add test coverage for all three scenarios using XVType properties

fixes #1662
@kevinherron kevinherron added this to the 1.1.0 milestone Nov 21, 2025
@kevinherron kevinherron merged commit 1fe9571 into 1.0 Nov 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UaNode.getProperty() fails to decode ExtensionObject values

2 participants