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
I still have a lot of reading to do since I'm new to GraphQL. Some of my notes so far:
the client interfaces for query/mutation/subscription should use only concepts from (1); e.g. the core model should not be tied to the http spec or notions of persistent connections. It seems ok to use circe.Json as an intermediary format since that's pretty close to what the spec describes
// Request format from Spec: https://github.com/APIs-guru/graphql-over-http
backends for these clients should probably be implemented directly in terms of http4s (ws-)clients according to (2), (3), (4); this does not rule out common abstractions for sharing of code, but it seems like that should remain an internal implementation detail since these specs may evolve independently
special functionality to reconnect/recreate subscriptions sounds like middleware territory to me
The text was updated successfully, but these errors were encountered:
I'm using "spec" here very loosely 😅 in order of specy-ness:
Note that apollographql/subscriptions-transport-ws is archived and points to there instead.
I still have a lot of reading to do since I'm new to GraphQL. Some of my notes so far:
circe.Json
as an intermediary format since that's pretty close to what the spec describesclue/model/src/main/scala/clue/model/GraphQLRequest.scala
Line 9 in 7fb6240
The text was updated successfully, but these errors were encountered: