Skip to content

Reduce base bundle size #1216

@jasonkuhrt

Description

@jasonkuhrt

Perceived Problem

The way Graffle is currently built leads to dragging in all/most of graphql package even when its features are not be used (for example: send a document as a string to a GraphQL schema over HTTP).

CleanShot 2024-10-24 at 15 44 50@2x

Ideas / Proposed Solution(s)

  • Turn Memory transport into an extension so that its reliance on "heavy" parts of graphql (like execute which alone is 350+kb) is not forced into core

  • Audit graphql utility imports for accidental dragging in of many KBs

  • Make document builder an extension #1119

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions