Looks fancy but it doesn't work for me :/ with th first block (without caring about the args) only the first call works, then nothing.
But when i update to care about different args, i just call the endpoint each time, even with the same args...
I see that sometimes you use target[${propertyKey}_cached] and others this[${propertyKey}_cached]. Is that an error?
I tried tweaking that and it still fails
Sorry for this late reply but somehow i missed your comment. The decorator is now available through npm please try to use it from @microphi/cache. If it still doesn't work please open an issue here issues
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Looks fancy but it doesn't work for me :/ with th first block (without caring about the args) only the first call works, then nothing.
But when i update to care about different args, i just call the endpoint each time, even with the same args...
I see that sometimes you use
target[
${propertyKey}_cached]
and othersthis[
${propertyKey}_cached]
. Is that an error?I tried tweaking that and it still fails
Sorry for this late reply but somehow i missed your comment. The decorator is now available through npm please try to use it from
@microphi/cache
. If it still doesn't work please open an issue here issues