Skip to content

Commit a45c121

Browse files
Yoadnodkz
authored andcommitted
Document more breaking changes for resolver output types
1 parent 898083e commit a45c121

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/releases/9.0.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- [Changed Resolver `updateById` input args](#changed-resolver-updatebyid-input-args)
2121
- [`createMany` resolver now validates all records before save](#createmany-resolver-now-validates-all-records-before-save)
2222
- [Some generated types were renamed](#some-generated-types-were-renamed)
23+
- [`findMany` and `findByIds` changed output type](#findMany-and-findbyids-output-type-nonnull)
2324
- [Misc](#misc)
2425
- [Thanks](#thanks)
2526
- [Thanks to contributors](#thanks-to-contributors)
@@ -609,6 +610,10 @@ Before 9.0.0, `graphql-compose-mongoose` would save some records provided to `cr
609610
- type for `filter._operators` field. Was `OperatorsXXXFilterInput`, which now becomes `XXXFilterOperatorsInput`. This helps keep all generated types with the same prefix for `XXX` entity.
610611
- in the `count` resolver, we changed the `filter` type name from `Filter` to `FilterCount`. All other resolvers already had `FilterFindMany`, `FilterFindOne`, etc. names; only the `count` resolver did not follow this pattern.
611612
613+
### `findMany` and `findByIds` output type NonNull
614+
- Output type for the `findMany` resolver is now NonNull of List of NonNull of (WrappedType)
615+
- Used to be List of NonNull of (WrappedType)
616+
612617
## Misc
613618
614619
- Refactor `pagination` & `connection` resolvers (now they are dependencies) [#272](https://github.com/graphql-compose/graphql-compose-mongoose/issues/272)

0 commit comments

Comments
 (0)