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(
25
25
overrides : {
26
26
converter : overrides ?. converter ?? "dummy" ,
27
27
wrapper : overrides ?. wrapper ,
28
+ tagCache : options . config . initializationFunction ?. tagCache ,
28
29
} ,
29
30
} ) ,
30
31
] ,
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ export interface OpenNextConfig {
404
404
* Supports only node runtime
405
405
*/
406
406
initializationFunction ?: DefaultFunctionOptions & {
407
- tagCache ?: "dynamodb" | LazyLoadedOverride < TagCache > ;
407
+ tagCache ?: IncludedTagCache | LazyLoadedOverride < TagCache > ;
408
408
} ;
409
409
410
410
/**
You can’t perform that action at this time.
0 commit comments