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

Make GlobalSettings.empty constant #285

Closed
kevin-lee opened this issue Jan 10, 2022 · 0 comments · Fixed by #286
Closed

Make GlobalSettings.empty constant #285

kevin-lee opened this issue Jan 10, 2022 · 0 comments · Fixed by #286
Assignees
Labels
Milestone

Comments

@kevin-lee
Copy link
Owner

Task

Summary

Make GlobalSettings.empty constant.

Project Details

Version: 1.4.0

Description

Make GlobalSettings.empty constant.
GlobalSettings.empty is currently def so it creates a new instance of an empty GlobalSettings whenever GlobalSettings.empty is called. However, GlobalSettings is immutable so there can be only one instance used for any required empty GlobalSettings.

@kevin-lee kevin-lee added the task label Jan 10, 2022
@kevin-lee kevin-lee added this to the milestone11 milestone Jan 10, 2022
@kevin-lee kevin-lee self-assigned this Jan 10, 2022
kevin-lee added a commit that referenced this issue Jan 10, 2022
…mpty-constant

Close #285 - Make GlobalSettings.empty constant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant