question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not supported the nested objects

See original GitHub issue

I have tried to convert the nested object to formData with serialize

let object = { key1: "VALUE1", key2: { nestedKey1: "NESTED_VALUE1" } }

but it is not support this case ==(

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
joemaffeicommented, Sep 7, 2022

Also, it doesn’t allow to send boolean values. Instead of real true or false, it sends strings, e.g. ‘true’.

That’s because FormData values can only be strings or Blobs. https://developer.mozilla.org/en-US/docs/Web/API/FormData/append

0reactions
IslamicProgrammercommented, Nov 12, 2022

Thank you a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested objects not working (in certain pattern) #724 - GitHub
The "An object inside an array of object" structure isn't presenting properly (both Example Values and Schema sections). I tried three nested ......
Read more >
Array types checking does not work in nested object
The array being assigned to it does not fulfill that type, so it fails. Your second and third examples are something completely different,...
Read more >
How to add Nested Objects in Data Action
I know that contract is not support for Nested Objects. so I added Nested Objects in con configuration -> Request Body Template, ...
Read more >
Do we support JSON nested objects when using "custom load ...
This should not be a nested JSON (nested JSON objects are not supported). Workaround is to flatten the nested JSON in the script...
Read more >
Nested field type | Elasticsearch Guide [8.5] | Elastic
The user field is mapped as type nested instead of type object . This query doesn't match because Alice and Smith are not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found