uql-codemod 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +0 -0
- package/dist/transform.js +4 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
File without changes
|
package/dist/transform.js
CHANGED
|
@@ -23,7 +23,10 @@ const REMOVED_DECORATORS = new Map([
|
|
|
23
23
|
* same reason as the decorators: what replaces each is decided at its call site.
|
|
24
24
|
*/
|
|
25
25
|
const REMOVED_EXPORTS = new Map([
|
|
26
|
-
[
|
|
26
|
+
[
|
|
27
|
+
'setQuerierPool',
|
|
28
|
+
'pass the pool where it is used: `createFetchHandler({ pool, include })`, `querierMiddleware({ pool, include })`',
|
|
29
|
+
],
|
|
27
30
|
['getQuerierPool', 'take the pool from the module that builds it, or from Nest DI'],
|
|
28
31
|
['getQuerier', 'use `pool.withQuerier(...)` / `pool.transaction(...)`, which release the connection'],
|
|
29
32
|
['QueryWhereFieldMap', 'use `QueryWhere`'],
|