mercurius-typescript

TypeScript usage examples and "mercurius-codegen" for Mercurius

MIT License

Downloads
13.8K
Stars
71
Committers
9

Bot releases are hidden (Show)

mercurius-typescript - [email protected] Latest Release

Published by PabloSzx 9 months ago

5.0.4

Patch Changes

  • Include mercurius v13 as supported peer dependency
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

closes #19

  • Allow customize prebuilt schema path:
loadSchemaFiles("**/*.gql", {  prebuild: { targetPath: "./mercurius-prebuilt-schema.json" } })
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Update dependencies
  • [Breaking change] Move prettier as peer dependency, if you don't have manually installed, you will need to do it
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Add loaders configuration loadersCustomParentTypes?: Record<string, string> to customize parent types of loaders
  • Update dependencies (including major update graphql-codegen v2)
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Update dependencies
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Update dependencies
  • Accept mercurius v8 in peerDependencies
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • update deps
  • allow override internalResolversPrefix
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • set MercuriusContext as default context with "contextType"
  • enable "useTypeImports" by default
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Update dependencies
  • use improved custom PLazy class instead of library
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • add outputSchema feature
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • DeepPartial allow promise values
  • Re-export p-lazy
  • Add LazyPromise helper
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • codegen use exported DeepPartial

Thanks to @stolinski via https://github.com/mercurius-js/mercurius-typescript/issues/10

mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Fix loaders nullables & n dimensional lists

fixes #8

mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Generated code dynamic type import (preventing unused type errors/warnings)
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Prevent unused loaders types warning
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Fix schema not parsing directives for federation
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Update mercurius in peer dependency
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Fix unions specific configuration
  • Update graphql-codegen dependencies
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Implement loadSchemaFiles for loading schema from "graphql files"
  • Export MercuriusLoaders as graphql-codegen plugin, thanks to @ThomasMcFarlane

Docs

mercurius-typescript - [email protected]

Published by PabloSzx almost 4 years ago

  • Add file watching feature to GraphQL operations files
  • Improve default codegen options

Docs