Skip to content

fix: rootNode.getAllContext() returns empty object #2483

Merged
mergify[bot] merged 2 commits into
aws:10.xfrom
nvinson:10.x
Oct 10, 2024
Merged

fix: rootNode.getAllContext() returns empty object #2483
mergify[bot] merged 2 commits into
aws:10.xfrom
nvinson:10.x

Conversation

@nvinson
Copy link
Copy Markdown
Contributor

@nvinson nvinson commented Oct 4, 2024

Correct getAllContext() to return the root node's context in addition to specified defaults.

Fixes: #2239

@nvinson nvinson changed the title Correct getAllContext() behavior fix: Correct getAllContext() behavior Oct 4, 2024
@nvinson nvinson force-pushed the 10.x branch 6 times, most recently from 5d61f05 to 1c71455 Compare October 9, 2024 03:14
Correct getAllContext() to return the root node's context in addition to
specified defaults.

Closes: aws#2239
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
@mrgrain mrgrain changed the title fix: Correct getAllContext() behavior fix: rootNode.getAllContext() returns empty object Oct 10, 2024
Comment thread src/construct.ts Outdated
Comment thread test/construct.test.ts Outdated
Copy link
Copy Markdown
Contributor

@mrgrain mrgrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@mergify mergify Bot merged commit 1eb4dca into aws:10.x Oct 10, 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.

app.getAllContext() returns empty object

2 participants