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

DataTypeDefinition IsOptional fields default to true, was false #89

Closed
mregen opened this issue Aug 23, 2021 · 1 comment
Closed

DataTypeDefinition IsOptional fields default to true, was false #89

mregen opened this issue Aug 23, 2021 · 1 comment
Labels

Comments

@mregen
Copy link
Contributor

mregen commented Aug 23, 2021

Compared to previous versions of the ModelCompiler output, now the default structure definition sets the IsOptional field by default to true. However according to spec the default should be false.

see also : OPCFoundation/UA-.NETStandard#1476

ModelCompilerStructureOutput

@opcfoundation-org
Copy link
Contributor

Pushed fix to
https://github.com/OPCF-Members/UA-.NETStandard-Prototypes/commit/42098670e197c02cbff71b91d7a00aedc50e1a92

The ModelDesign.xsd now supports a default value for DataType Fields.
This allows modellers to explicitly specify false as a default value for boolean fields.
Other types are not supported yet.

@mregen mregen closed this as completed Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants