Skip to content

Instantly share code, notes, and snippets.

@cometkim
Last active July 9, 2024 03:47
Show Gist options
  • Save cometkim/07adda08ae281cf5c18ea912fa27a44b to your computer and use it in GitHub Desktop.
Save cometkim/07adda08ae281cf5c18ea912fa27a44b to your computer and use it in GitHub Desktop.
Call for study: Streaming runtime for GraphQL

Call for study: Streaming runtime for GraphQL

Topics

  1. Design format as a compact binary representation of the GraphQL trusted documents
    • The decoder should interface as a ReadableStream
    • It aligns the execution order of resolvers ahead-of-time
  2. Pipe-able execute which compatible with exsting GraphQL resolvers
    • It should support e.g unpack(docs).pipe(executeStream)
  3. Implement stream acceptance from the client
    • Define a proper wire format (usable as stream)
    • Establish client runtime semantics (similar to defer/stream, with data-masking as the default behavior)

Goals

  • End-to-end demo application
  • Exploring possibilities for framework integration
  • Share results at GraphQLConf 2024
@cometkim
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment