Class: CookieResolver
Simple resolver to fetch language/locale from cookie
Implements
Constructors
constructor
• new CookieResolver(cookieNames?
)
Parameters
Name | Type |
---|---|
cookieNames | string [] |
Defined in
src/resolvers/cookie.resolver.ts:11
Properties
cookieNames
• Private
Readonly
cookieNames: string
[]
Defined in
src/resolvers/cookie.resolver.ts:13
Methods
resolve
▸ resolve(context
): string
| string
[]
Parameters
Name | Type |
---|---|
context | ExecutionContext |
Returns
string
| string
[]