sentry-rust
sentry-rust copied to clipboard
request query string & cookies should support structured data
relevant docs: https://develop.sentry.dev/sdk/event-payloads/types/#request
query_string (optional): null | (string | (Array<Array<(null | string)> | null> | { [key: string]: null | string })) The query string component of the URL. Can be given as unparsed string, dictionary, or list of tuples.
& cookies too
cookies (optional): null | (Array<Array<(null | string)> | null> | { [key: string]: null | string }) The cookie values. Can be given unparsed as string, as dictionary, or as a list of tuples.
bug example:
{
"request" :
"query_string": {
"foo": "bar",
"foo": "bars",
"lol": "ha"
}
}
sentry-cli output:
error: invalid type: map, expected a string at line 3 column 21