GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(sveltekit): update wrapServerRouteWithSentry to respect ParamMatchers by gurpreetatwal · Pull Request #13390 · getsentry/sentry-javascript

Conversation

@gurpreetatwal

@gurpreetatwal gurpreetatwal commented Aug 15, 2024

Copy link
Copy Markdown
Contributor

SvelteKit narrows the type of event.params based on ParamMatchers that are defined in the path, by making the function generic we can respect the narrowed type

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Follow up to #13247

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Lms24 Lms24 closed this Sep 18, 2024
@Lms24 Lms24 reopened this Sep 18, 2024
@Lms24

Lms24 commented Sep 18, 2024

Copy link
Copy Markdown
Member

Hi @gurpreetatwal thanks for opening this PR! I'm sorry for the late review. Looks fine to me. Since we're only extending the previous type I this doesn't classify as a breaking change so we can merge it in.

(heads-up: Just assigning myself to track internally that I'm reviewing it)

gurpreetatwal reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Lms24
Lms24 approved these changes Sep 18, 2024
View reviewed changes
@Lms24

Lms24 commented Sep 18, 2024

Copy link
Copy Markdown
Member

I see this PR is still in draft - did you want to add something to still?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gurpreetatwal

gurpreetatwal commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

Hi @Lms24! Apologies for the delayed response on my end, we're good to merge!

I had it in draft status because I was trying to get the test suite to run on my computer but wasn't able to and hadn't yet had the time to figure out if it was a code issue or a just dev set up issues.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gurpreetatwal
fix(sveltekit): update wrapServerRouteWithSentry to respect ParamMatc…
b106d20
…hers

SvelteKit narrows the type of event.params based on ParamMatchers that are defined in the path, by making the function generic we can respect the narrowed type
@gurpreetatwal
gurpreetatwal marked this pull request as ready for review October 8, 2024 20:42
@Lms24

Lms24 commented Oct 9, 2024

Copy link
Copy Markdown
Member

Thanks for getting back to me! Will let CI run again on the changes and then merge it.

gurpreetatwal reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Lms24
Lms24 merged commit ed2e556 into getsentry:develop Oct 9, 2024
@gurpreetatwal
gurpreetatwal deleted the patch-1 branch October 10, 2024 01:51
@q1blue q1blue mentioned this pull request Oct 31, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.34.0 https-quantumblockchainai-atlassian-net/ossinsight#968
Open
@bagulm123 bagulm123 mentioned this pull request Nov 2, 2024
[Snyk] Upgrade @sentry/react from 8.22.0 to 8.34.0 bagulm123/komiser#29
Open
This was referenced Nov 2, 2024
[Snyk] Upgrade @sentry/browser from 8.33.1 to 8.34.0 mong/mongts#3389
Closed
[Snyk] Upgrade @sentry/react from 8.33.1 to 8.34.0 mong/mongts#3390
Closed
@kenn7575 kenn7575 mentioned this pull request Nov 3, 2024
[Snyk] Upgrade @sentry/sveltekit from 8.33.1 to 8.34.0 kenn7575/kenni-kollemorten-v2#81
Closed
@mbreadmachine mbreadmachine mentioned this pull request Nov 5, 2024
[Snyk] Upgrade @sentry/react from 8.28.0 to 8.34.0 mbreadmachine/arany-d-osztaly-weboldal#60
Merged
@q1blue q1blue mentioned this pull request Nov 11, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.35.0 https-quantumblockchainai-atlassian-net/ossinsight#983
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Lms24 Lms24 Lms24 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@gurpreetatwal @Lms24
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.