Skip to content

[Export] Bulk-mode results are all strings — same query exports different JSON types than REST mode #80

Description

@Exotic209093

Severity

Low.

What happens

Bulk query results are parsed with Papa without dynamicTyping, yielding string-only records; REST mode yields typed JSON. The same query exported as JSON gives "AnnualRevenue": 500000 via REST but "AnnualRevenue": "500000" via Bulk (booleans likewise "true"), and Bulk cannot distinguish null from empty string.

Evidence

  • src/services/salesforce/bulk-api.ts:243-258

Suggested fix

Coerce obvious numerics/booleans when parsing bulk CSV pages, or document/normalize the difference.

Environment

Commit 74cf21b (main), WaveLink 0.6.0. Found in the 2026-08-31 adversarial audit (code-verified).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions