Skip to content

Implement automatic typings for queries & mutations compatible with GraphQL Codegen #134

Description

@ACERposS

Hi, not sure if this package is still being maintained but it would be beneficial to have TypeScript support automatically functional with the official client preset.

svelte-apollo@0.5.0.patch

In the meantime the attached patch can be used with PNPM's built-in patching functionality to provide automatic first-class TypeScript support with query and mutation equivalent to that available with the React-based useQuery and useMutation hooks.

(In package.json:)

"pnpm": {
  "patchedDependencies": {
    "svelte-apollo@0.5.0": "patches/svelte-apollo@0.5.0.patch"
  }
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions