-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
zapTypeToDecodableClusterObjectType does not throw on ambiguous types #13578
zapTypeToDecodableClusterObjectType does not throw on ambiguous types #13578
Conversation
I have renamed the |
f11ff0f
to
b8d0c4f
Compare
PR #13578: Size comparison from ff0bc91 to b8d0c4f Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
b8d0c4f
to
3f2d660
Compare
PR #13578: Size comparison from fd218ae to 3f2d660 Increases above 0.2%:
Increases (1 build for linux)
Decreases (1 build for linux)
Full report (27 builds for efr32, esp32, k32w, linux, nrfconnect, p6, qpg, telink)
|
3f2d660
to
cdb7c82
Compare
PR #13578: Size comparison from fd218ae to cdb7c82 Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
cdb7c82
to
f16e05b
Compare
PR #13578: Size comparison from 150c479 to f16e05b Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
/rebase |
f16e05b
to
3b0fb69
Compare
PR #13578: Size comparison from 41d3a6c to 3b0fb69 Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Fast tracking, given > 3 days for review. |
/rebase |
3b0fb69
to
32ef5ab
Compare
PR #13578: Size comparison from 42a7b0a to 32ef5ab Full report (32 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
/rebase |
32ef5ab
to
8e7fd34
Compare
PR #13578: Size comparison from 02631e5 to 8e7fd34 Full report (22 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
|
/rebase |
8e7fd34
to
17f8f78
Compare
PR #13578: Size comparison from b8049f0 to 17f8f78 Full report (15 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
|
17f8f78
to
4632bfe
Compare
PR #13578: Size comparison from b8049f0 to 4632bfe Full report (32 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
…project-chip#13578) * Make Sure SoffwareFault does not create issues * Rename SecurityType to WiFiSecurity for the network commissioning cluster in order to match the spec * zapTypeToDecodableClusterObjectType does not throw on ambiguous types * Update generated code
Problem
When using the
zapTypeToDecodableClusterObjectType
helper, the type may be ambiguous and we will return the first type that match.Change overview
zapTypeToDecodableClusterObjectType
to throw if there is some ambiguitycommissioning.xml
by replacingSecurityType
withWiFiSecurity
as named in the spec (it was causing some ambiguity)SoftwareFault
event name toSoftwareFaultEvent
as the name is colliding with theSoftwareFault
struct which is also namedSoftwareFault
Testing
Running codegen does not produce ambiguous results anymore.