-
Notifications
You must be signed in to change notification settings - Fork 39
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
app.getAllContext() returns empty object #2239
Closed
piurafunk opened this issue
Apr 25, 2024
· 1 comment
· Fixed by #2483, grommir/cdk-test#8 or gentksb/splitwise_automation#15 · May be fixed by Opetushallitus/heratepalvelu#293 or ithunter0428/FastAPI-AWS-Todo-App#65
Closed
app.getAllContext() returns empty object #2239
piurafunk opened this issue
Apr 25, 2024
· 1 comment
· Fixed by #2483, grommir/cdk-test#8 or gentksb/splitwise_automation#15 · May be fixed by Opetushallitus/heratepalvelu#293 or ithunter0428/FastAPI-AWS-Todo-App#65
Comments
I noticed that the Lines 248 to 252 in d5eb5ff
The |
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 4, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 5, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 6, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 7, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 8, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 8, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 9, 2024
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>
nvinson
added a commit
to nvinson/aws_constructs
that referenced
this issue
Oct 10, 2024
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>
mergify bot
pushed a commit
that referenced
this issue
Oct 10, 2024
Correct getAllContext() to return the root node's context in addition to specified defaults. Fixes: #2239
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am attempting to parse some context values from the CDK app. The feature was introduced by #1751
My code snippet is:
Which outputs:
However, when I toss a
console.log()
inNode.getAllContext()
, it prints my context variables:Outputs:
Where
longTermStorageBucketArn
is the context I have passed on command line:I also tested it in the constructor of a
Stack
object:both of which produce:
Is this the intended behavior? I don't seem to understand how to get all context from the
app
object, whereasapp.node.getContext(...)
works as expected.The text was updated successfully, but these errors were encountered: