gopcua / opcua

Native Go OPC-UA library
MIT License
829 stars 253 forks source link

Register encode/decode funcs instead of types #699

Closed deosjr closed 6 months ago

deosjr commented 7 months ago

This change would allow users to register a function to encode or decode extensionobjects they read with a custom function, bypassing the default behaviour that comes from registering a type. This would enable for example to decode an extensionobject into a type generated at runtime.

deosjr commented 6 months ago

Closing after discussion; this should not be part of this library.