feat: add support for multiplexed session for read only transactions #5509
Annotations
10 errors and 12 warnings
Run npm run lint:
src/database.ts#L103
Replace `·GetSession,·GetSessionInterface·` with `GetSession,·GetSessionInterface`
|
Run npm run lint:
src/database.ts#L370
Replace `·MultiplexedSessionOptions·|·MultiplexedSessionConstructor,·` with `⏎······|·MultiplexedSessionOptions⏎······|·MultiplexedSessionConstructor`
|
Run npm run lint:
src/database.ts#L370
Trailing spaces not allowed
|
Run npm run lint:
src/database.ts#L489
Replace `this,·name,·poolOptions,·multiplexedSessionOptions` with `⏎······this,⏎······name,⏎······poolOptions,⏎······multiplexedSessionOptions⏎····`
|
Run npm run lint:
src/database.ts#L1149
Replace `(process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS!==` with `·(process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS·!==·`
|
Run npm run lint:
src/database.ts#L3070
Replace `"session:·"` with `'session:·'`
|
Run npm run lint:
src/get-session.ts#L1
Replace `·Database,·Session,·Transaction·}·from·"."` with `Database,·Session,·Transaction}·from·'.'`
|
Run npm run lint:
src/get-session.ts#L2
Replace `·MultiplexedSession,·MultiplexedSessionInterface,·MultiplexedSessionOptions·}·from·"./multiplexed-session"` with `⏎··MultiplexedSession,⏎··MultiplexedSessionInterface,⏎··MultiplexedSessionOptions,⏎}·from·'./multiplexed-session'`
|
Run npm run lint:
src/get-session.ts#L3
Replace `·SessionPool,·SessionPoolInterface,·SessionPoolOptions·}·from·"./session-pool"` with `⏎··SessionPool,⏎··SessionPoolInterface,⏎··SessionPoolOptions,⏎}·from·'./session-pool'`
|
Run npm run lint:
src/get-session.ts#L4
Replace `·MultiplexedSessionConstructor,·SessionPoolConstructor·}·from·"./database"` with `⏎··MultiplexedSessionConstructor,⏎··SessionPoolConstructor,⏎}·from·'./database'`
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Post Run actions/checkout@v3
The process '/usr/bin/git' failed with exit code 128
|
Run npm run lint:
observability-test/database.ts#L96
Unexpected any. Specify a different type
|
Run npm run lint:
samples/resource/singer.d.ts#L39
'SingerInfo' is defined but never used
|
Run npm run lint:
samples/resource/singer.d.ts#L130
Unexpected any. Specify a different type
|
Run npm run lint:
samples/resource/singer.d.ts#L138
Unexpected any. Specify a different type
|
Run npm run lint:
samples/resource/singer.d.ts#L150
Unexpected any. Specify a different type
|
Run npm run lint:
samples/resource/singer.d.ts#L156
Unexpected any. Specify a different type
|
Run npm run lint:
samples/resource/singer.d.ts#L167
'Genre' is defined but never used
|
Run npm run lint:
src/database.ts#L3070
Strings must use singlequote
|
Run npm run lint:
src/get-session.ts#L1
Strings must use singlequote
|
Run npm run lint:
src/get-session.ts#L2
Strings must use singlequote
|
Loading