npm @graphql-codegen/typescript-resolvers 1.13.0
v1.13.0

🚀 NEW PLUGIN: typescript-oclif (See: https://github.com/dotansimha/graphql-code-generator/pull/2805, thanks @kalzoo)

🚀 NEW PLUGIN: typescript-react-apollo-offix - integration for generating type-safe hooks for offline with Offix. (See #3586, thanks @auryn31)

core/cli

  • update dependencies
  • Ensure dev-test stays up to date (#3480, thanks @brandon-leapyear)
  • In watch mode, stale files from the previous build are being removed now (#3489, thanks @nodkz)
  • export parseEnumValues from common plugin package.
  • Update to latest version of graphql-toolkit to fix issues with schema and documents loading (thanks @ardatan )

typescript-documents-node

  • fixed return value of plugin to avoid duplicates in imports

typescript

  • allow field definitions to be wrapped (#3299, thanks @rintaun)
  • Fix declarationKind=interface, type syntax errors (#3505, @738)
  • enum as const: add support const assertions from TypeScript 3.4 (#3569, thanks @DragorWW)

typescript-react-apollo

  • Add withRefetchFn option (#3479, thanks @brandon-leapyear)
  • Add documentMode: importDocumentNodeFragments config option to reduce duplications of fragments (#3171, thanks @wassim-k)
  • Use fragment prefix/suffix in client side base visitor (#3524, thanks @mjbcopland)
  • Fix for documentMode: documentNode and missing fragments (#3602)

typescript-operations

  • Add option omitOperationSuffix (#3485, thanks @nodkz)
  • Use fragment prefix/suffix in client side base visitor (#3524, thanks @mjbcopland)

typescript-apollo-angular

  • Add documentMode: importDocumentNodeFragments config option to reduce duplications of fragments (#3171, thanks @wassim-k)
  • Use fragment prefix/suffix in client side base visitor (#3524, thanks @mjbcopland)
  • Add configurable suffixes for operations (#3565, thanks @spaghettiismymiddlename )

typescript-resolvers

  • Add mapperTypeSuffix option (#3451, thanks @koenpunt)
  • Include undefined as type for all-optional argument lists (#3344, thanks @sgoll)
  • allow field definitions to be wrapped (#3299, thanks @rintaun)
  • mappers: put default import next to named identifiers (#3498, thanks @kamilkisiela )
  • mappers: dot-separated namespace (#3501, thanks @kamilkisiela)
  • Added customResolverFn option (#3553, thanks @eturino)
  • allow return value to be promise in resolveType and isTypeOf (#3599)
  • fix for mappers suffix (#3601, thanks @kamilkisiela)

fragment-matcher

  • Allow string/number to be specific as apolloClientVersion #3495

flow-resolvers

  • Add mapperTypeSuffix option (#3451, thanks @koenpunt)
  • Include undefined as type for all-optional argument lists (#3344, thanks @sgoll)
  • allow field definitions to be wrapped (#3299, thanks @rintaun)
  • mappers: put default import next to named identifiers (#3498, thanks @kamilkisiela )
  • mappers: dot-separated namespace (#3501, @kamilkisiela)
  • Added customResolverFn option (#3553, thanks @eturino)
  • allow return value to be promise in resolveType and isTypeOf (#3599)
  • fix for mappers suffix (#3601, thanks @kamilkisiela)

near-operation-files preset

  • Fix dedupeOperationSuffix with presets (#3487)
  • Fixes for issues with presets and missing fragments imports (#3606)

java

  • handle enum input when args is not enum (#3585, thanks @ducthienbui97)
  • Check null args for nullable input type array (#3605, thanks @ducthienbui97)

docs / website

  • Add "-D" installation flag (#3488, thanks @xamgore)
  • Add community Gatsby plugins (#3503, thanks @d4rekanguok)
  • Replace the broken link in fragment-matcher page (#3515, thanks @ducthienbui97)
  • Fix config example in base-visitor.md (scalars - JSON) (#3522, thanks @738)
  • Minor changes to apolloClientVersion 3 usage (#3544, thanks @rdsedmundo)
latest releases: 2.3.2, 2.3.1, 2.3.1-alpha-143b4bc91.0...
19 months ago