Skip to content

Commit dee7391

Browse files
committed
Make breaking chnages title consistent
1 parent 2f2eb7c commit dee7391

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/src/pages/docs/migration/operations-and-client-preset-from-5-0.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,13 @@ The following utility types have been removed:
386386
- `InputMaybe`: used to handle nullability types of Input. Input types are now inlined, so this type is no longer needed.
387387
- `MakeOptional`, `MakeMaybe` and `MakeEmpty`: used to handle `preResolveTypes:false`. However, `preResolveTypes` has been removed, so these types are no longer needed.
388388
389-
### 11. Make `unknown` the default type for custom scalars instead of `any`
389+
### 11. `unknown` is the default type for custom scalars instead of `any`
390390
391391
Previously, the default custom Scalars type was `any`, which bypassed typechecking.
392392
393393
Now, the default type is `unknown` to ensure data is handled carefully by users.
394394
395-
### 12. Make `string | number` the default type for the native `ID` scalar
395+
### 12. `string | number` is the default type for the native `ID` scalar
396396
397397
Previously, one set of default Scalar types was shared between client and server plugins via the `typescript` plugin dependency. This meant it was not possible to set the default for client, as it would complicate the server config, and vice versa. See this [PR for more details](https://github.com/dotansimha/graphql-code-generator/pull/9497).
398398

0 commit comments

Comments
 (0)