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

Feature: CompositionLocal Configuration with compositionProviders #137

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

teogor
Copy link
Owner

@teogor teogor commented Oct 5, 2023

This PR introduces the compositionProviders function, a feature that enables CompositionLocal configuration for the application. The function provides a list of ProvidedValue instances, allowing developers to initialize CompositionLocal values.

Here are the key points of this PR:

  • Added the compositionProviders function to the base class.
  • The default implementation returns an empty list but can be customized in derived classes.
  • This change sets the stage for fine-grained control over CompositionLocal values in future updates.

closes #124

@teogor teogor added this to the 1.0.0-alpha03 milestone Oct 5, 2023
@teogor teogor self-assigned this Oct 5, 2023
@teogor teogor merged commit 5a83cf1 into main Oct 5, 2023
4 checks passed
@zeobot zeobot bot deleted the feature/custom-composition-local-providers-124 branch October 5, 2023 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

[FR]: Feature Request: Allow Custom Composition for Local Providers
1 participant