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

Add Array.SetType() to allow updating TypeInfo #374

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

fxamacker
Copy link
Member

@fxamacker fxamacker commented Mar 5, 2024

Closes #372

This feature is needed by Cadence migrations to update static types. For more details, see

This PR allows updating static types of Array container.


  • Targeted PR against main branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@fxamacker fxamacker added enhancement New feature or request E&V Team Execution / Verification / Edge Team labels Mar 5, 2024
@fxamacker fxamacker self-assigned this Mar 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 65.08%. Comparing base (86040b3) to head (431511d).

Files Patch % Lines
array.go 69.23% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence     #374      +/-   ##
==========================================================
+ Coverage                   65.00%   65.08%   +0.07%     
==========================================================
  Files                          14       14              
  Lines                        8359     8372      +13     
==========================================================
+ Hits                         5434     5449      +15     
+ Misses                       2228     2227       -1     
+ Partials                      697      696       -1     

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

Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

Nice! Thank you for adding this! 🙏

array.go Outdated Show resolved Hide resolved
array.go Outdated Show resolved Hide resolved
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

👌

@fxamacker fxamacker merged commit e1a76d5 into feature/stable-cadence Mar 8, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E&V Team Execution / Verification / Edge Team enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants