graphile / starter

Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
https://graphile-starter.herokuapp.com
Other
1.75k stars 219 forks source link

test(helpers): pass client instead of pool; fix typing #379

Closed bchrobot closed 5 months ago

bchrobot commented 5 months ago

Description

This fixes passing the client to test helpers instead of the pool. It also adds typings to the pools cache to allow TS to catch future mismatches.

Performance impact

Presumably none.

Security impact

Presumably none.

Checklist