fix(client): Some error rendering improvements and fixes(#18515)
MergedMerging
fix/error-rendering-improvements into
Benchmarks
client generation ~50 Models packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Modelstypescript compilation ~50 Models packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Modelsclient generation 100 models with relations packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relationsCommits
Click on a commit to change the comparison rangechore(deps): update engines to 4.14.0-32.0145f3f905a104fabe142ed6b861cb8f0f56f5e7 (#18929)base7 months ago by prisma-bot fix(client): Some error rendering improvements and fixes
- Fix deeply nested Union errors handling.
- `InvalidArgumentValue` error: handle missing `underlyingError` case. fix(client): Some error rendering improvements and fixes
- Fix deeply nested Union errors handling.
- `InvalidArgumentValue` error: handle missing `underlyingError` case. fix(client): Some error rendering improvements and fixes
- Fix deeply nested Union errors handling.
- `InvalidArgumentValue` error: handle missing `underlyingError` case. Update packages/client/src/runtime/core/errorRendering/applyValidationError.test.ts
Co-authored-by: Alexey Orlenko <alex@aqrln.net> Update packages/client/src/runtime/core/errorRendering/applyValidationError.test.ts
Co-authored-by: Alexey Orlenko <alex@aqrln.net> Copyright © 2023 CodSpeed Technology SAS. All rights reserved.