Skip to content

Adding db constraints for enum items, struct items and bitmap fields#1581

Merged
dhchandw merged 1 commit into
project-chip:masterfrom
dhchandw:task/addDbConstraintsFields
Apr 23, 2025
Merged

Adding db constraints for enum items, struct items and bitmap fields#1581
dhchandw merged 1 commit into
project-chip:masterfrom
dhchandw:task/addDbConstraintsFields

Conversation

@dhchandw
Copy link
Copy Markdown
Collaborator

  • also fixing related bug

closes #907

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds database constraints for enum, struct, and bitmap fields and fixes a related bug in the collection of ZCL data types from the properties file.

  • Added a new block to handle ZCLDataTypes in collectDataFromPropertiesFile.
  • Fixed a bug where an undefined variable (obj) was used when assigning ZCLDataTypes.
Files not reviewed (1)
  • src-electron/db/zap-schema.sql: Language not supported

Comment thread src-electron/zcl/zcl-loader-silabs.js Outdated
@dhchandw dhchandw requested a review from ethanzhouyc April 23, 2025 17:49
@dhchandw dhchandw force-pushed the task/addDbConstraintsFields branch from f086caf to b57695a Compare April 23, 2025 18:44
@dhchandw dhchandw merged commit 43455f0 into project-chip:master Apr 23, 2025
13 checks passed
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.

ZAP Tests start failing when adding legitimate constraints to Database schema

4 participants