Closed celluj34 closed 1 year ago
Hi @celluj34 , yep it was in the release notes
Sadly there's nothing I can do, it seems to be a limitation of the current version of the compiler.
Ah, I see. Sorry I did not read thoroughly enough, I was too excited to start using the conditional refresh feature! Thank you for setting me straight!
I was too excited to start using the conditional refresh feature!
I'm you were expecting it so much, if you like let me know how it went 😁
Honestly it's so much nicer than what I had to do before. The previous flow was complicated and we had to store 3 values for each set of data. We wanted to keep our data for 1 hour, but check at a maximum of every 10 minutes for staleness.
The way you've built the new methods with the existing FailSafe logic is just perfect for our use case.
Hi @celluj34 , what can I say? Thanks for your words, they made my day 😊
I'm glad it ended up working well and that you are liking the way I designed it, it means a lot!
Describe the bug Since updating to 0.21, types cannot be inferred from
GetOrSetAsync
.To Reproduce
Expected behavior I expect the types to be inferred from the return type of the factory.
Versions I've encountered this issue on:
Screenshots
Additional context You can work around the issue by providing the type explicitly in the method call, like so: