Skip to content

Need to be able to define default values for fields and have them in the database and queries #380

Open
@bzbarsky-apple

Description

The following can have default values specified in the matter (to be used of the field is missing):

  • Attributes (default values already supported in ZAP, but this is about getting the spec defined default, not the one in the ZAP config, because this default needs to be usable by the client side of the cluster).
  • Command fields.
  • Struct fields.
  • Event fields.

There is no place for these default values in the database schema, as far as I can see, so no way to use them in templates to codegen code that initializes things to defaults (say).

@mrjerryjohns

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

high priorityTag that shows this as higher priority as other issues.matterImportant to Matter SDK

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions