Skip to content

Allow customisation of the session object through new getSession config #1133

Allow customisation of the session object through new getSession config

Allow customisation of the session object through new getSession config #1133

Triggered via pull request August 13, 2023 22:38
@borisno2borisno2
synchronize #8097
get-session
Status Failure
Total duration 8m 36s
Artifacts

tests_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Linting: examples/custom-session-invalidation/keystone.ts#L60
Type '{ get({ context }: { context: Context; }): Promise<Session | undefined>; start({ context, data }: { context: Context; data: Session; }): Promise<unknown>; data: string; end: (args: { ...; }) => Promise<...>; }' is not assignable to type 'SessionStrategy<any, never>'.
Linting: packages/auth/src/schema.ts#L1
Module '"@keystone-6/core/types"' has no exported member 'ExtendGraphqlSchema'.
Linting: packages/auth/src/session/index.ts#L143
Type '({ context }: { context: KeystoneContext; }) => Promise<JSONValue | undefined>' is not assignable to type '(args: { context: KeystoneContext; }) => Promise<Session | undefined>'.
Linting: tests/api-tests/access-control/schema.test.ts#L3
Module '"@keystone-6/core"' has no exported member 'ListSchemaConfig'.
Linting: tests/api-tests/access-control/utils.ts#L2
Module '"@keystone-6/core"' has no exported member 'ListSchemaConfig'.
Linting
Process completed with exit code 1.