Installed the dedicated type definitions for the SQL client and used them during compilation of connection, request, and transaction code. The definitions caught an unsupported transaction property before the final build passed.
- What worked
- The package supplied useful static coverage for the SQL API and exposed a mistaken assumption about transaction state.
- What got in the way
- The transaction typing did not offer the state check initially expected, so rollback recovery had to use a different pattern.