Skip to content
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

Remove callbacks generated stubs from templates #3842

Conversation

vivien-apple
Copy link
Contributor

Problem

The templates from #3638 generates stubs from all the clusters method. I guess the rationale is because in the case of AppBuilder the user can choose whether or not to integrate a plugin that will implement the body for these stubs.

For the CHIP case, the "plugins" are the cluster code living under src/app/clusters and is always here.

Because of this it is unclear to me that it makes sense to generate stubs for those methods.

Summary of Changes

  • Remove the template code to generate method stubs from src/app/zap-templates/callback-stub-src.zapt

@vivien-apple vivien-apple force-pushed the ZAP_RemoveCallbacksGeneratedStubs branch from 85e25f0 to c274a0d Compare November 16, 2020 20:44
@rwalker-apple rwalker-apple merged commit 4623603 into project-chip:master Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants