Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Payload only shows values of strings #380

Closed
KrisztianKaszas opened this issue Feb 3, 2023 · 2 comments · Fixed by #383
Closed

Unknown Payload only shows values of strings #380

KrisztianKaszas opened this issue Feb 3, 2023 · 2 comments · Fixed by #383
Labels
bug Something isn't working

Comments

@KrisztianKaszas
Copy link

If the metric options value is of type object, e.g. boolean:

  • it gets correctly displayed in the metric Builder Mode
  • it gets correctly assigned from the code mode to the respective payload option

BUT:

  • it does not correctly display the value of the option in the unkown objects:

Example:
I have following Code:
image
Here I intentionally set one boolan type with a string value ("exactInterval": "true")

The options are all correctly assigned to their lists:
image

But in the unknown payload the boolean options show empty value:
image
Note the "exactInterval" was set to a string value "true".

It would be nice, if payloads got stringified when showing in the unknown payloads?

The options list in Fiddler:
image

@simPod simPod added the bug Something isn't working label Feb 4, 2023
@simPod
Copy link
Owner

simPod commented Feb 4, 2023

Can you review the test #383?

@KrisztianKaszas
Copy link
Author

In my opinion the test covers what I was looking for: strings, booleans, integers. The more complex object {…}, is also good to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants