Skip to content

Commit

Permalink
Update migration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jul 7, 2021
1 parent 7adcd51 commit 7711d59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ There was a minor breaking change in the `registerAs` function (typings), you ca

#### `@nestjs/graphql` package

There might be some small differences in how your auto-generated schema file may look like (changed types order). Also, if you use the schema-first approach, the automatically generated type definitions will change as there was a new `Nullable<T>` type introduced in the latest release.
There might be some small differences in how your auto-generated schema file looks like (changed types order). Also, if you use the schema-first approach, the automatically generated type definitions will change as there was a new `Nullable<T>` type introduced in the latest release.

Also, all `HttpException` errors thrown from your resolvers will be now automatically mapped to the corresponding `ApolloError` instances, unless you set the `autoTransformHttpErrors` configuration property (in the options object you pass into the `GraphQLModule#forRoot()` method) to `false`.

#### RxJS

Make sure to upgrade to the latest version of the `rxjs` package (v7).

0 comments on commit 7711d59

Please sign in to comment.