cloudflare-typescript
cloudflare-typescript copied to clipboard
DNS search with "exact" or "endswith" always returns 0
Confirm this is a Typescript library issue and not an underlying Cloudflare API issue
- [x] This is an issue with the Typescript library
Describe the bug
DNS list with exact or endswith searching is returning 0 records.
To Reproduce
const response = await cloudflare.dns.records.list({
zone_id: this.zoneId,
name: {
exact: 'www',
},
});
console.log(response.result.length);
Code snippets
OS
macOS
Runtime version
Typescript 5.7.2
Library version
v5.0.0
Reproduce the bug using dns.records.list with exact and endswith.
Inspect payloads to locate the fault—wrapper or upstream.
Fix query serialization if needed, add tests, and update docs.