-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
provideHttpCache({ responseSerializer(value) { return structuredClone(value); } }),
Providing a responseSerialzer will cause an error on startup in v5.1 (it has worked with the same code in v4.1).
Error: Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed, got: [..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]
The difference in the providers array is that the last entry is new which is apparently not correct for angular:

I am using Angular 20.
Metadata
Metadata
Assignees
Labels
No labels