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

Refreeze FileMetadata type with note to not << #5944

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Conversation

dlpierce
Copy link
Contributor

Fixes #5943

Defaults for valkyrie resource attributes should be frozen to prevent unintended changes to other objects. This issue was revealed by this spec and fixed by freezing the default object and using a method that creates a new object instead of one the modifies the existing object.

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

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

Looks good!

@dlpierce dlpierce merged commit 23490a8 into main Jan 24, 2023
@dlpierce dlpierce deleted the fix-and-freeze-type branch January 24, 2023 16:26
@dlpierce dlpierce added the notes-bugfix Release Notes: Fixed a bug label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-bugfix Release Notes: Fixed a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileMetadataSpec has a flaky test
2 participants