* fix(ts-sdk): send null instead of undefined when includeEntities is false When `includeEntities: false` was passed, the client serialized `entities` as `undefined`, which is stripped from JSON. The API then applied its default (`EntityIncludeOptions()` — enabled), silently ignoring the flag. Fix: send `null` explicitly when `includeEntities === false` so the API correctly interprets it as "disable entities". chunks and source_facts are unaffected since their API defaults are null (disabled), so omitting them from JSON produces the correct behaviour. Also adds integration tests covering all three states of includeEntities. * fix(ts-sdk): use toBeFalsy for null entity check in test |
||
|---|---|---|
| .. | ||
| go | ||
| python | ||
| rust | ||
| typescript | ||
| .gitignore | ||