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

Extend DependencyValues to provide features an instance of NotificationCenter they can observe. #217

Closed
wants to merge 1 commit into from

Conversation

kielgillard
Copy link

@kielgillard kielgillard commented May 28, 2024

I followed the example of how access to TimeZone was lifted into DependencyValues.

Slack thread: https://pointfreecommunity.slack.com/archives/C04L2D0MNJH/p1716871191834439

@mbrandonw
Copy link
Member

Hi @kielgillard, this has come up before (#203), and we don't feel that a Notification Center dependency is really needed. You can already freely post notifications in tests, and so they seem testable already.

I'm going to close this for now, but feel free to open a discussion if there is something we are missing.

@mbrandonw mbrandonw closed this May 28, 2024
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.

2 participants