Discussions
Why isn't the query parameter of an array type removed when all the values are removed?
almost 2 years ago by [email protected]
The problem:
- We have an optional array type for a query parameter
- If we add values then the values are added as expected
- but when we remove them, then the parameter is still left to the query with an empty value
Expected behaviour:
- if all values are removed the parameter should be removed from the query
For reference:
https://preview.readme.io/reference/cookies_standard?url=3.1%2Fparameters-style.json
It seems that in the preview it does work, but we can't seem to be able to get the same behaviour in our API reference
https://docs.nftport.xyz/reference/retrieve-nft-details with the include
parameter