planetarium / web9c

Reference frontend app to demonstrate JS libraries on Nine Chronicles / Libplanet.
https://web9c.netlify.app/
GNU General Public License v3.0
4 stars 5 forks source link

Adaptive Endpoint Selection is hard to implement with urql. #54

Open Akamig opened 1 year ago

Akamig commented 1 year ago

As we used GraphQLProvider, since url value of urql Client instance is immutable, we should either

  1. Generate different Client instance for all entries of endpoint, and switch as selected
  2. As I found on google it seems to be able by create custom exchange policy? I couldn't understand that method.