Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

fix(deps): update dependency type-graphql to v1 #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
type-graphql 0.17.6 -> 1.1.1 age adoption passing confidence

Release Notes

MichalLytek/type-graphql

v1.1.1

Compare Source

Fixes
  • fix crashing when of union's or interface type's resolveType function returns undefined or null (#​731)
  • fix crashing when no reflected type available for fields with params decorators (#​724)
  • fix not registering object types implementing interface type when interface type is used as object type field type (#​736)
  • properly transform nested array of input type classes (#​737)

v1.1.0

Compare Source

Features
  • allow passing custom validation function as validate option to buildSchema
  • support defining deprecation reason and description of enum members (#​714)
Fixes
  • Breaking Change: throw error when wrong type of value provided as arg or input for GraphQLISODateTime and GraphQLTimestamp scalars
  • don't include in schema the fields declared as @FieldResolver when that resolvers classes aren't provided in resolvers array
  • fix grammar in CannotDetermineGraphQLTypeError error message
  • properly inherit extensions from parent class and its fields

v1.0.0

Compare Source

Features
  • Breaking Change: emit in schema only types actually used by provided resolvers classes (#​415)
  • Breaking Change: update graphql-js peer dependency to ^15.3.0
  • Breaking Change: update graphql-query-complexity dependency to ^0.7.0 and drop support for fieldConfigEstimator (use fieldExtensionsEstimator instead)
  • Breaking Change: introduce sortedSchema option in PrintSchemaOptions and emit sorted schema file by default
  • Breaking Change: make class-validator a peer dependency of version >=0.12.0 that needs to be installed manually (#​366)
  • Breaking Change: remove CannotDetermineTypeError and make other error messages more detailed and specific
  • Breaking Change: remove legacy array inference - now explicit array syntax ([Item]) is required
  • update TypeResolver interface to match with GraphQLTypeResolver from graphql-js
  • add basic support for directives with @Directive() decorator (#​369)
  • add possibility to tune up the performance and disable auth & middlewares stack for simple field resolvers (#​479)
  • optimize resolvers execution paths to speed up a lot basic scenarios (#​488)
  • add @Extensions decorator for putting metadata into GraphQL types config (#​521)
  • add support for defining arguments and implementing resolvers for interface types fields (#​579)
  • add { autoRegisterImplementations: false } option to prevent automatic emitting in schema all the object types that implements used interface type (#​595)
  • allow interfaces to implement other interfaces (#​602)
  • expose createResolversMap utility that generates apollo-like resolvers object
  • support IoC containers which .get() method returns a Promise of resolver instance
  • update deps to newest major versions (tslib, graphql-query-complexity)
Fixes
  • Breaking Change: stop returning null for GraphQLTimestamp and GraphQLISODateTime scalars when returned value is not a Date instance - now it throws explicit error instead
  • Breaking Change: fix transforming and validating nested inputs and arrays (#​462)
  • refactor union types function syntax handling to prevent possible errors with circular refs
  • remove duplicated entries for resolver classes that use inheritance (#​499)
  • fix using name option on interface fields (#​567)
  • fix not calling authChecker during subscribe phase for subscriptions (#​578)
  • fix using shared union type in multiple schemas
  • fix using shared interface type in multiple schemas
  • fix calling field resolver without providing resolver class to buildSchema
  • fix generated TS union type for union type of object type classes extending themselves (#​587)
  • fix using shared union and interface types in multiple schemas when resolveType is used
  • properly inherit directives while extending @InputType or @ObjectType classes (#​626)
  • skip transforming empty array items into input classes
Others
  • Breaking Change: change build config to ES2018 - drop support for Node.js < 10.3
  • Breaking Change: remove deprecated DepreciationOptions interface
  • Breaking Change: remove deprecated direct array syntax for declaring union types

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from 2d4b01e to eab01a0 Compare October 12, 2020 19:50
@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from eab01a0 to 403d89b Compare November 27, 2020 23:05
@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from 403d89b to d757502 Compare February 12, 2021 03:15
@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from d757502 to 56c4764 Compare April 2, 2021 12:44
@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from 56c4764 to 734da76 Compare June 3, 2021 02:21
@renovate renovate bot force-pushed the renovate/type-graphql-1.x branch from 734da76 to 2c99eaf Compare July 1, 2021 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant