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 Request: Find all context #1796

Open
pwrmiller opened this issue Jul 11, 2023 · 1 comment
Open

Feature Request: Find all context #1796

pwrmiller opened this issue Jul 11, 2023 · 1 comment

Comments

@pwrmiller
Copy link
Contributor

Previously, all users of constructs would have to know beforehand the keys in the context to expect, and use either tryGetContext or getContext to retrieve a specific key from context.

I would suggest that we provide a mechanism to get the full context of a node in the construct tree, with overridable defaults.

@pwrmiller
Copy link
Contributor Author

Implementation, and tests around this can be found here: #1751

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

No branches or pull requests

1 participant