Stylianos Gakis
10/03/2025, 9:18 AM...
.fetchPolicy(FetchPolicy.CacheAndNetwork)
.execute()
And we were hit with the com.apollographql.apollo.exception.DefaultApolloException: The operation returned multiple items, use .toFlow() instead of .execute() exception.
Now the question is, is there something we can do regarding avoiding this, besides either being careful to just not write this or working on some intricate linting tool which might be able to catch it?
In past years I don't recall seeing this before so admittedly it is not a common scenario πbod
10/03/2025, 9:21 AMStylianos Gakis
10/03/2025, 9:27 AMbod
10/03/2025, 9:28 AMStylianos Gakis
10/03/2025, 10:06 AMbod
10/03/2025, 10:08 AMbod
10/03/2025, 10:09 AMStylianos Gakis
10/03/2025, 10:51 AMbod
10/03/2025, 10:58 AM