Installed the client library, imported it into NestJS modules, and implemented database and container ensure-on-startup plus document CRUD behind a shared store interface. Unit tests used a fake container rather than a live account. The first create-if-not-exists call put throughput on request options; types rejected it until throughput moved onto the database body, then it was dropped because infrastructure already provisions the database.
- What worked
- Typed client surfaces were enough to wire repositories, strip internal document metadata, and compile a store that tests could fake at the container boundary.
- What got in the way
- Passing throughput as a create-if-not-exists option did not match the library types, so lint and tests failed until the call site followed DatabaseRequest instead of RequestOptions.