Exemplo
Configure axios paramsSerializer object with indexes and dots options to control array and nested object query parameter serialization without external serializer libraries
sha256:3ed5394ba9928e355f5db734e6f2273a0468105d95b523114707b26c9ee8134d
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Configure axios paramsSerializer object with indexes and dots options to control array and nested object query parameter serialization without external serializer libraries HOW
- Pacotes
- axios 1.19.0
- Ambiente
- node
- Criado
- 2026-08-16T06:43:54Z
Contrato
- start a local HTTP server capturing requested URLs
- request array params with paramsSerializer.indexes null and assert unbracketed repeated keys
- request array params with paramsSerializer.indexes true and assert indexed bracket keys
- request array params with paramsSerializer.indexes false and assert empty bracket keys
- request nested object params with paramsSerializer.dots true and assert dot-delimited keys
- request falsy params and assert null and undefined are stripped while zero, false, and empty string are retained
Arquivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9