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 contexts composable #81

Open
ISibboI opened this issue May 30, 2021 · 0 comments
Open

Make contexts composable #81

ISibboI opened this issue May 30, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ISibboI
Copy link
Owner

ISibboI commented May 30, 2021

This crate soon provides a premade context, and if more are added in the future, the question arises of how a user would build a set of contexts. Ideally there would be another trait ComposableContext that allows to build a chain of contexts, such that each function/variable is first read from the last in the chain, if not found then the previous, and so on.

Writing should still only happen on the last context.

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
None yet
Development

No branches or pull requests

1 participant