Skip to content

fix(node): contexts cannot be overridden and culture never included - #5677

Merged
AbhiPrasad merged 1 commit into
getsentry:masterfrom
timfish:fix/node-context
Sep 1, 2022
Merged

fix(node): contexts cannot be overridden and culture never included#5677
AbhiPrasad merged 1 commit into
getsentry:masterfrom
timfish:fix/node-context

Conversation

@timfish

Copy link
Copy Markdown
Collaborator

@AbhiPrasad sure was right about #5512 needing some integration tests!

I will do a PR to add integration tests but for now, this PR fixes two issues:

  • A missing typeof which stops the node culture detection from working entirely
  • The contexts are completely overwritten rather than merge any existing keys

@timfishtimfish changed the title fix(node): Context cannot be overridden and culture not includedfix(node): contexts cannot be overridden and culture never includedSep 1, 2022

@AbhiPrasadAbhiPrasad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah - let's get this out with a patch release considering theres some TS issues that need to be released as well.

@AbhiPrasad
AbhiPrasad enabled auto-merge (squash) September 1, 2022 15:38
@AbhiPrasad
AbhiPrasad merged commit 7e64b9e into getsentry:masterSep 1, 2022
@AbhiPrasadAbhiPrasad mentioned this pull request Sep 1, 2022
@timfish
timfish deleted the fix/node-context branch September 27, 2022 12:31
Sign up for freeto 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.

2 participants

@timfish@AbhiPrasad