Comments (6)
I will take a look tomorrow. Thanks for the info!
from ts-cacheable.
I have the same issue, but only with AOT, version 1.0.9 works great.
from ts-cacheable.
I think it has something to do with the new function expressions I added as part of the refactor, as mentioned here https://angular.io/guide/aot-compiler#metadata-restrictions
Will try to resolve those asap. Thanks guys!
from ts-cacheable.
Fixed in 43aa04d
from ts-cacheable.
Hm, will try it out and get back to you with a solution. In the meantime it will be really helpful if you create a stackblitz where this is reproducible :)
Also, can you show me the template of this component? I just updated one of my test projects to your version of the CLI and node and I still can't reproduce the issue :(
from ts-cacheable.
Thank you for your time!
I created a test app:
https://stackblitz.com/edit/angular-ngx-cacheable
The app works online, but if download and run local, the error occurs.
Steps to reproduce:
-
Download the app.
-
Run npm i.
-
Run ng serve.
from ts-cacheable.
Related Issues (20)
- GlobalCacheConfig.storageStrategy not used in Angular 9? HOT 7
- Possibility to cache per instance HOT 7
- JSON parse type issues HOT 4
- Cache query params HOT 2
- Refresh data HOT 7
- invoking a function after maxAge ends HOT 1
- How to keep cache isolated between different users ? HOT 5
- inMemoryStorageStrategy: What is the in-memory size that can be utilized using the cacheable decorator? HOT 2
- Does this work with subscribe? HOT 1
- [@CacheBuster()][Feature Proposal] Instant cache busting HOT 3
- Caching for urls without parameters
- Adapt description about "Cache busting" when different parameters are used HOT 4
- Observable<XXXXXX>>' is not assignable to parameter of type 'TypedPropertyDescriptor<ICacheable<Observable<any>>>'. HOT 4
- Support for optional parameters HOT 2
- Question: Serve the cached response and get the latest data in background HOT 2
- Async storage strategies with observable @Cacheable decorator HOT 1
- globalCacheBusterNotifier not working when using PCacheable decorator HOT 2
- Question: How to set Storage Strategy at Global Level HOT 1
- Does Ts-Cachable support typed observables? HOT 4
- StorageStrategy - removeAtIndex add entity to parameters HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts-cacheable.