You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make all public FabricInfo getters const
- Only FabricTable APIs are allowed to mutate FabricInfo entries
due to the requirements of fail-safe shadow data handling
- Previous PRs made sure none of the mutators were used outside
of FabricTable, but `FindFabricByIndex` remained a non-const
getter due to how much code was using it.
Fixes#19929
This PR:
- Renames the mutable `FabricInfo *` getter as `GetMutableFabricByIndex()`
and makes it private to FabricTable.
- Adds `const` qualifier to every other usage of FindFabricByIndex in the SDK.
Testing done:
- All unit tests pass
- Cert tests still pass
- Still compiles
* Fix CI on Shell
* Fix one const in ESP32 ShellCommands.h
0 commit comments