You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how graphql-batch works and shouldn't be considered a bug. Since you're passing in a timestamp to for, that becomes part of the batch loader "grouping" cache key. Time.current including seconds (and microseconds) so every call will have a different value of course.
Time.zone.today gets around that since the value will be the same within each day at least.
environment
I'm creating Rails app with following modules;
Steps to reproduce
actual result
graphql-batch generates this SQL;
expected result
graphql-batch should generate;
additional information
In my case, this problem is resolved with following code.
The text was updated successfully, but these errors were encountered: