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

Compile time error for Struct with isFabricScoped attribute, when Struct is used as command argument type #1255

Open
lazarkov opened this issue Jan 25, 2024 · 0 comments

Comments

@lazarkov
Copy link

lazarkov commented Jan 25, 2024

For the specific command I was not able to compile the code when the struct had isFabricScopet set to true

Struct

<struct name="MessageStruct" isFabricScoped="true">
    <cluster code="0x0097"/>
    <item fieldId="0" name="MessageID" type="octet_string" length="16" optional="false"/>
</struct>

Command

<command source="client" code="0x00" name="PresentMessagesRequest" isFabricScoped="true" optional="false">
  <description>
    Command for requesting messages be presented
  </description>
  <arg name="Messages" type="MessageStruct" array="true" optional="false"/>
</command>

This will lead to compile time error:
complete-error-log.txt

@lazarkov lazarkov changed the title Struct does not support isFabricScoped argument, when they are command argument type Compile time error for Struct with isFabricScoped attribute, when Struct is used as command argument type Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant