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 Darwin name determination for global structs and enums. #1374

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

The naming pattern is a bit different from cluster-specific ones.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this lead to backwards compatibility issues if someone has new zap and old gsdk?
Should these changes be tied to some classification of a new vs old gsdk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It can't, because in old SDK there are no global structs and clusterName is never 'Globals'.

The naming pattern is a bit different from cluster-specific ones.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.76%. Comparing base (1bf40e8) to head (c6682aa).
Report is 27 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1374      +/-   ##
==========================================
- Coverage   66.00%   65.76%   -0.25%     
==========================================
  Files         194      194              
  Lines       20528    20693     +165     
  Branches     4455     4505      +50     
==========================================
+ Hits        13550    13608      +58     
- Misses       6978     7085     +107     

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

@bzbarsky-apple bzbarsky-apple merged commit a115226 into project-chip:master Jul 26, 2024
12 checks passed
@bzbarsky-apple bzbarsky-apple deleted the darwin-global-codegen branch July 26, 2024 15:17
dhchandw pushed a commit to dhchandw/zap that referenced this pull request Jul 26, 2024
…chip#1374)

The naming pattern is a bit different from cluster-specific ones.
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.

4 participants