File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @opennextjs/aws " : patch
3+ ---
4+
5+ fix: tagCache in initializationFunction
6+
7+ Add correct typing to tagCache in initializationFunction and also adds it to the ` overrides ` in ` compileTagCacheProvider ` function.
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export async function compileTagCacheProvider(
2525 overrides : {
2626 converter : overrides ?. converter ?? "dummy" ,
2727 wrapper : overrides ?. wrapper ,
28+ tagCache : options . config . initializationFunction ?. tagCache ,
2829 } ,
2930 } ) ,
3031 ] ,
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ export interface OpenNextConfig {
404404 * Supports only node runtime
405405 */
406406 initializationFunction ?: DefaultFunctionOptions & {
407- tagCache ?: "dynamodb" | LazyLoadedOverride < TagCache > ;
407+ tagCache ?: IncludedTagCache | LazyLoadedOverride < TagCache > ;
408408 } ;
409409
410410 /**
You can’t perform that action at this time.
0 commit comments