Title: Request interface query_string type · Issue #2560 · getsentry/sentry-javascript · GitHub
Open Graph Title: Request interface query_string type · Issue #2560 · getsentry/sentry-javascript
X Title: Request interface query_string type · Issue #2560 · getsentry/sentry-javascript
Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Provide a link to the aff...
Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/2560
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Request interface query_string type","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [ ] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [x] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [ ] other:\r\n\r\n### Version:\r\n\r\n```\r\n5.15.5\r\n```\r\n\r\n## Description\r\n\r\nHi.\r\nI'm using @sentry/node for my project.\r\nI think sentry Request object's `query_string` type is not matching with docs.\r\n\r\n- **Document i found** : https://docs.sentry.io/development/sdk-dev/event-payloads/request/\r\n - `query_string: unparsed string, dictionary, or list of tuples`\r\n- **Actual Request type**: https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/request.ts\r\n - `query_string: string`\r\n\r\nI thought i can set `request.query_string` to javascript query object like document says.\r\n\r\nshould it be something like `query_string: string | string[] | { [key: string]: string }`?\r\n\r\n\r\n","author":{"url":"https://github.com/Godsenal","@type":"Person","name":"Godsenal"},"datePublished":"2020-04-28T03:31:25Z","url":"https://github.com/getsentry/sentry-javascript/issues/2560"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1d3936b-8c3d-1a44-64db-d2f0fb9982c2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9006:2CE84F:384548:4F3144:6B043FAC |
| html-safe-nonce | 4b9729df5919c8868ca510d3f078460f368e23a53bd79ba4ec188f0749cc63f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDA2OjJDRTg0RjozODQ1NDg6NEYzMTQ0OjZCMDQzRkFDIiwidmlzaXRvcl9pZCI6IjIyMjkwODQyNTc0MzgxNTQ2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 69867cf60bdaba5e11bcd076b8b7b21a182220f92dfeb00bb67e055d93db55f1 |
| hovercard-subject-tag | issue:607997864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/2560/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d545ba0eacd898211e06c5f74fb953561e292069b4e72e06fd8d05183a47c78/getsentry/sentry-javascript/issues/2560 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d545ba0eacd898211e06c5f74fb953561e292069b4e72e06fd8d05183a47c78/getsentry/sentry-javascript/issues/2560 |
| og:image:alt | Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Godsenal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width