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

Fix zapTypeToClusterObjectType to have correct output for acronyms. #1218

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

zapTypeToClusterObjectType needs to be consistent with the actual types we generate for cluster objects, and it was producing different output for a struct (or event) which had an all-caps name.

Copy link

@jamesharrow jamesharrow left a comment

Choose a reason for hiding this comment

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

Looks like it should do the necessary.

@brdandu
Copy link
Collaborator

brdandu commented Nov 28, 2023

There is a matter code gen failure

@bzbarsky-apple
Copy link
Contributor Author

@brdandu That codegen failure is because ZAP changed the codegen and no one bothered to update the version in Matter. It has nothing to do with this PR.

zapTypeToClusterObjectType needs to be consistent with the actual types we
generate for cluster objects, and it was producing different output for a struct
(or event) which had an all-caps name.
@brdandu brdandu force-pushed the fix-zapTypeToClusterObjectType branch from eb308f6 to 67a5910 Compare November 28, 2023 14:03
@brdandu brdandu merged commit 3461293 into project-chip:master Nov 28, 2023
1 check passed
@bzbarsky-apple bzbarsky-apple deleted the fix-zapTypeToClusterObjectType branch November 28, 2023 14:05
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.

None yet

3 participants