Skip to content

Conversation

@andy31415
Copy link
Contributor

@andy31415 andy31415 commented Sep 11, 2025

Summary

See comments in #40553 (comment) and beyond

Significant changes:

  • Make FindRegistration fallible since it is now used to find an existing endpoint as well. Made sure to implement it as such and add error logging when find registration fails.
  • Set the the ember endpoint count correct for ClusterIngeration calls for singletons (used to be 1, now it is the dynamic configuration in case EP0 is fully dynamic)

Testing

Existing unit tests should still apply.

Copilot AI review requested due to automatic review settings September 11, 2025 18:03
@github-actions github-actions bot added the app label Sep 11, 2025
Copy link
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 addresses post-merge review comments from PR #40553, focusing on improving the cluster integration code. The changes enhance documentation clarity, improve error handling, and fix parameter naming and function signatures.

  • Improved documentation to clarify conditional loading of optional attributes and feature maps
  • Updated method signatures to return pointers instead of references for better null safety
  • Standardized parameter naming across cluster integration classes

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

File Description
src/data-model-providers/codegen/ClusterIntegration.h Updated documentation and method signatures for better clarity and null safety
src/data-model-providers/codegen/ClusterIntegration.cpp Implemented improved error handling and parameter renaming
Multiple cluster integration files Updated to match new interface signatures and parameter names

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the codegen cluster integration logic to improve robustness and clarity, primarily by changing FindRegistration to return a pointer, allowing for nullptr returns for uninitialized clusters. The changes also include renaming maxEndpointCount to maxClusterInstanceCount for better understanding and centralizing cluster instance lookups to reduce code duplication. My review identified a critical syntax error that would prevent compilation and a minor code style issue. With these fixes, the changes represent a solid improvement to the codebase.

@andy31415 andy31415 force-pushed the andy31415-push-wyzmtuptqtwn branch from b6823c3 to 9634801 Compare September 11, 2025 18:07
@github-actions github-actions bot added the app label Sep 11, 2025
@andy31415 andy31415 force-pushed the andy31415-push-wyzmtuptqtwn branch from 9634801 to 68605ec Compare September 11, 2025 18:07
@andy31415 andy31415 requested a review from Copilot September 11, 2025 18:08
Copy link
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

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@andy31415
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request effectively addresses post-merge review comments by refactoring the cluster integration logic. Key improvements include making FindRegistration fallible to enhance safety, renaming maxEndpointCount to maxClusterInstanceCount for clarity, and using dynamic configuration sizes for singleton clusters to improve robustness. The code is now safer, clearer, and more maintainable. The changes are well-implemented and consistent across all affected files.

@github-actions
Copy link

github-actions bot commented Sep 11, 2025

PR #40957: Size comparison from 1fc028b to 24a7d79

Full report (28 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, qpg, realtek, stm32, telink)
platform target config section 1fc028b 24a7d79 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104520 1104520 0 0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 659090 659090 0 0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 835158 835158 0 0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068168 1068168 0 0.0
RAM 117333 117333 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898408 898408 0 0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981320 981320 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768172 768236 64 0.0
RAM 103392 103392 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779800 779864 64 0.0
RAM 108560 108560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725396 725444 48 0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709888 709920 32 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553162 553194 32 0.0
RAM 205168 205168 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585854 585918 64 0.0
RAM 205400 205400 0 0.0
efr32 lock-app BRD4187C FLASH 959752 959816 64 0.0
RAM 126408 126408 0 0.0
BRD4338a FLASH 755176 755232 56 0.0
RAM 255732 255732 0 0.0
window-app BRD4187C FLASH 1053988 1054052 64 0.0
RAM 122604 122604 0 0.0
qpg lighting-app qpg6200+debug FLASH 831400 831448 48 0.0
RAM 127788 127788 0 0.0
lock-app qpg6200+debug FLASH 768452 768500 48 0.0
RAM 118748 118748 0 0.0
realtek light-switch-app rtl8777g FLASH 703608 703672 64 0.0
RAM 106660 106660 0 0.0
lighting-app rtl8777g FLASH 755368 755432 64 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467876 467940 64 0.0
RAM 141400 141400 0 0.0
telink bridge-app tl7218x FLASH 709726 709780 54 0.0
RAM 93468 93468 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 798740 798794 54 0.0
RAM 44028 44028 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789954 790008 54 0.0
RAM 100772 100772 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 716136 716190 54 0.0
RAM 54256 54256 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749490 749544 54 0.0
RAM 77404 77404 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726282 726336 54 0.0
RAM 37004 37004 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606350 606404 54 0.0
RAM 112580 112580 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822674 822732 58 0.0
RAM 99168 99168 0 0.0

@github-actions
Copy link

github-actions bot commented Sep 11, 2025

PR #40957: Size comparison from 1fc028b to a51cb04

Full report (28 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, qpg, realtek, stm32, telink)
platform target config section 1fc028b a51cb04 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104520 1104520 0 0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 659090 659090 0 0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 835158 835158 0 0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068168 1068168 0 0.0
RAM 117333 117333 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898408 898408 0 0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981320 981320 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768172 768236 64 0.0
RAM 103392 103392 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779800 779864 64 0.0
RAM 108560 108560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725396 725444 48 0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709888 709920 32 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553162 553194 32 0.0
RAM 205168 205168 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585854 585918 64 0.0
RAM 205400 205400 0 0.0
efr32 lock-app BRD4187C FLASH 959752 959816 64 0.0
RAM 126408 126408 0 0.0
BRD4338a FLASH 755176 755232 56 0.0
RAM 255732 255732 0 0.0
window-app BRD4187C FLASH 1053988 1054052 64 0.0
RAM 122604 122604 0 0.0
qpg lighting-app qpg6200+debug FLASH 831400 831448 48 0.0
RAM 127788 127788 0 0.0
lock-app qpg6200+debug FLASH 768452 768500 48 0.0
RAM 118748 118748 0 0.0
realtek light-switch-app rtl8777g FLASH 703608 703672 64 0.0
RAM 106660 106660 0 0.0
lighting-app rtl8777g FLASH 755368 755432 64 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467876 467940 64 0.0
RAM 141400 141400 0 0.0
telink bridge-app tl7218x FLASH 709726 709780 54 0.0
RAM 93468 93468 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 798740 798794 54 0.0
RAM 44028 44028 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789954 790008 54 0.0
RAM 100772 100772 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 716136 716190 54 0.0
RAM 54256 54256 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749490 749544 54 0.0
RAM 77404 77404 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726282 726336 54 0.0
RAM 37004 37004 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606350 606404 54 0.0
RAM 112580 112580 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822674 822732 58 0.0
RAM 99168 99168 0 0.0

@github-actions
Copy link

PR #40957: Size comparison from 1fc028b to eb535ce

Full report (1 build for stm32)
platform target config section 1fc028b eb535ce change % change
stm32 light STM32WB5MM-DK FLASH 467876 467940 64 0.0
RAM 141400 141400 0 0.0

@github-actions
Copy link

github-actions bot commented Sep 12, 2025

PR #40957: Size comparison from cccf626 to 811c217

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section cccf626 811c217 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104520 1104392 -128 -0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 659090 658958 -132 -0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 835158 835026 -132 -0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068168 1068036 -132 -0.0
RAM 117333 117333 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898408 898276 -132 -0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981320 981188 -132 -0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768172 768028 -144 -0.0
RAM 103392 103392 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779800 779656 -144 -0.0
RAM 108560 108560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725396 725236 -160 -0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709888 709712 -176 -0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553162 552970 -192 -0.0
RAM 205168 205168 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585854 585694 -160 -0.0
RAM 205400 205400 0 0.0
efr32 lock-app BRD4187C FLASH 959752 959624 -128 -0.0
RAM 126408 126408 0 0.0
BRD4338a FLASH 755176 754960 -216 -0.0
RAM 255732 255732 0 0.0
window-app BRD4187C FLASH 1053988 1053756 -232 -0.0
RAM 122604 122604 0 0.0
esp32 all-clusters-app c3devkit DRAM 102552 102552 0 0.0
FLASH 1775084 1774914 -170 -0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913964 913832 -132 -0.0
RAM 152928 152928 0 0.0
nxp contact mcxw71+release FLASH 690640 690408 -232 -0.0
RAM 61640 61640 0 0.0
lighting mcxw71+release FLASH 722456 722216 -240 -0.0
RAM 68308 68308 0 0.0
lock mcxw71+release FLASH 769256 769008 -248 -0.0
RAM 62004 62004 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1664660 1664460 -200 -0.0
RAM 211288 211288 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1584644 1584452 -192 -0.0
RAM 208560 208560 0 0.0
light cy8ckit_062s2_43012 FLASH 1455108 1454892 -216 -0.0
RAM 197248 197248 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487436 1487220 -216 -0.0
RAM 224968 224968 0 0.0
qpg lighting-app qpg6200+debug FLASH 831400 831224 -176 -0.0
RAM 127788 127788 0 0.0
lock-app qpg6200+debug FLASH 768452 768292 -160 -0.0
RAM 118748 118748 0 0.0
realtek light-switch-app rtl8777g FLASH 703608 703464 -144 -0.0
RAM 106660 106660 0 0.0
lighting-app rtl8777g FLASH 755368 755224 -144 -0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467876 467724 -152 -0.0
RAM 141400 141400 0 0.0
telink bridge-app tl7218x FLASH 709792 709750 -42 -0.0
RAM 93468 93468 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 799020 798978 -42 -0.0
RAM 44028 44028 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 790232 790190 -42 -0.0
RAM 96684 96684 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 716414 716372 -42 -0.0
RAM 54256 54256 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749716 749674 -42 -0.0
RAM 73316 73316 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726554 726512 -42 -0.0
RAM 37004 37004 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606582 606540 -42 -0.0
RAM 109252 109252 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822904 822866 -38 -0.0
RAM 95080 95080 0 0.0

@codecov
Copy link

codecov bot commented Sep 12, 2025

Codecov Report

❌ Patch coverage is 54.21687% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.90%. Comparing base (cccf626) to head (7927760).
⚠️ Report is 34 commits behind head on master.

Files with missing lines Patch % Lines
...trator-commissioning-server/CodegenIntegration.cpp 28.57% 5 Missing ⚠️
...ata-model-providers/codegen/ClusterIntegration.cpp 68.75% 5 Missing ⚠️
...usters/boolean-state-server/CodegenIntegration.cpp 42.85% 4 Missing ⚠️
...-network-diagnostics-server/CodegenIntegration.cpp 42.85% 4 Missing ⚠️
.../general-diagnostics-server/CodegenIntegration.cpp 20.00% 4 Missing ⚠️
...sters/group-key-mgmt-server/CodegenIntegration.cpp 20.00% 4 Missing ⚠️
...software-diagnostics-server/CodegenIntegration.cpp 20.00% 4 Missing ⚠️
...-network-diagnostics-server/CodegenIntegration.cpp 55.55% 4 Missing ⚠️
.../clusters/basic-information/CodegenIntegration.cpp 25.00% 3 Missing ⚠️
...-av-stream-transport-server/CodegenIntegration.cpp 94.44% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #40957   +/-   ##
=======================================
  Coverage   50.89%   50.90%           
=======================================
  Files        1361     1361           
  Lines       99880    99887    +7     
  Branches    12934    12939    +5     
=======================================
+ Hits        50838    50843    +5     
- Misses      49042    49044    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Sep 12, 2025

PR #40957: Size comparison from cccf626 to 7927760

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section cccf626 7927760 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104520 1104392 -128 -0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 659090 658958 -132 -0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 835158 835026 -132 -0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068168 1068036 -132 -0.0
RAM 117333 117333 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898408 898276 -132 -0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981320 981188 -132 -0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768172 768028 -144 -0.0
RAM 103392 103392 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779800 779656 -144 -0.0
RAM 108560 108560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725396 725236 -160 -0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709888 709712 -176 -0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553162 552970 -192 -0.0
RAM 205168 205168 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585854 585694 -160 -0.0
RAM 205400 205400 0 0.0
efr32 lock-app BRD4187C FLASH 959752 959624 -128 -0.0
RAM 126408 126408 0 0.0
BRD4338a FLASH 755176 754960 -216 -0.0
RAM 255732 255732 0 0.0
window-app BRD4187C FLASH 1053988 1053756 -232 -0.0
RAM 122604 122604 0 0.0
esp32 all-clusters-app c3devkit DRAM 102552 102552 0 0.0
FLASH 1775084 1774914 -170 -0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913964 913832 -132 -0.0
RAM 152928 152928 0 0.0
nxp contact mcxw71+release FLASH 690640 690408 -232 -0.0
RAM 61640 61640 0 0.0
lighting mcxw71+release FLASH 722456 722216 -240 -0.0
RAM 68308 68308 0 0.0
lock mcxw71+release FLASH 769256 769008 -248 -0.0
RAM 62004 62004 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1664660 1664460 -200 -0.0
RAM 211288 211288 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1584644 1584452 -192 -0.0
RAM 208560 208560 0 0.0
light cy8ckit_062s2_43012 FLASH 1455108 1454892 -216 -0.0
RAM 197248 197248 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487436 1487220 -216 -0.0
RAM 224968 224968 0 0.0
qpg lighting-app qpg6200+debug FLASH 831400 831224 -176 -0.0
RAM 127788 127788 0 0.0
lock-app qpg6200+debug FLASH 768452 768292 -160 -0.0
RAM 118748 118748 0 0.0
realtek light-switch-app rtl8777g FLASH 703608 703464 -144 -0.0
RAM 106660 106660 0 0.0
lighting-app rtl8777g FLASH 755368 755224 -144 -0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467876 467724 -152 -0.0
RAM 141400 141400 0 0.0
telink bridge-app tl7218x FLASH 709792 709750 -42 -0.0
RAM 93468 93468 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 799020 798978 -42 -0.0
RAM 44028 44028 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 790232 790190 -42 -0.0
RAM 96684 96684 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 716414 716372 -42 -0.0
RAM 54256 54256 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749716 749674 -42 -0.0
RAM 73316 73316 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726554 726512 -42 -0.0
RAM 37004 37004 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606582 606540 -42 -0.0
RAM 109252 109252 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822904 822866 -38 -0.0
RAM 95080 95080 0 0.0

@mergify mergify bot merged commit 51d88d6 into project-chip:master Sep 15, 2025
77 of 78 checks passed
uint16_t maxClusterInstanceCount; // This is how many cluster instancers are supported by the delegate (0-based indexing, so
// indices smaller than this are valid).
bool fetchFeatureMap; // Read feature map attribute from ember.
bool fetchOptionalAttributes; // Read the enabling of the first 32 optional attributes from ember.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should also have flag for optional commands and events.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jadhavrohit924 What would that flag do, exactly?

Copy link
Contributor

Choose a reason for hiding this comment

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

Flag to get the optional enabled commands/events like optionalAttributes. Otherwise we will have to do that in CodegenIntegration.

Copy link
Contributor

Choose a reason for hiding this comment

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

There is currently no good representation for "enabled optional commands/events" (unlike attributes)... So even if we had the flag, what form would the data take?

But yes, we could define some way of representing those and add flags to fetch that representation.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants