Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olksdr committed Feb 14, 2024
1 parent 70a66b0 commit fe9ec94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/sdk/event-payloads/contexts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -702,14 +702,14 @@ Additional information that allows Sentry to connect multiple transactions, span
| `route` | `string` or `map` | The current route in the application. |
| `previous_route` | `string` or `map` | The previous route in the application the user was visiting. |

The `route` can also have currently following predefined fields if it set to the map:
The `route` can also have currently following predefined fields if it is a map:

| Field | Type | Description |
| -------- | -------- | ---------------------------------------------- |
| `name` | `string` | The name of the route in the user application. |
| `params` | `map` | Params assigned to this route. |

If the route set to string it will be normalization and the above created object will be created assiging provided route name to the `route.name` field.
If the route is set to a string (e.g. `"route": "foo"`), it will be normalized into a map (e.g. `"route": {"name": "foo"}`) server-side.

### Example Trace Context

Expand Down

0 comments on commit fe9ec94

Please sign in to comment.