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

Use object.freeze() to make fixture configurations immutable. #38

Open
timekadel opened this issue Mar 8, 2023 · 0 comments
Open

Use object.freeze() to make fixture configurations immutable. #38

timekadel opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@timekadel
Copy link
Member

Use object.freeze to make fixture configurations (and every other objects that should be immutable) immutable. This should prevent may problems from happening during fixture creation process, mode selection and universe patching. This is a much better way to accomplish immutability rather than deeply copying the objects before processing to any modifications.

@timekadel timekadel added the enhancement New feature or request label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant