Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegisterExtensionObjectFromServer WIP #702

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

RegisterExtensionObjectFromServer WIP #702

wants to merge 2 commits into from

Conversation

deosjr
Copy link

@deosjr deosjr commented Dec 15, 2023

No description provided.

ua/schema.go Outdated Show resolved Hide resolved
var fields []reflect.StructField
for _, f := range t.Fields {
if len(f.ArrayDimensions) > 1 {
return nil, fmt.Errorf("schema: ua type %s.%s is a multi-dimensional array: %v", id, f.Name, f.ArrayDimensions)
Copy link
Contributor

Choose a reason for hiding this comment

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

This error is unclear. It just states the fact without saying what is wrong imo :)
I am not sure i understand why is it an error. This is a valid use case for PackML for example.

@magiconair
Copy link
Member

It looks like FreeOpcUa does not support the DataTypeDefinition attribute on the server on which this whole feature depends on... Need to find a different way for testing.

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.

None yet

3 participants