Commit graph

16 commits

Author SHA1 Message Date
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Sergei Zharinov
b2c6cbe0c8
feat(result): Add onValue and onError handlers (#24099) 2023-08-27 13:05:56 +00:00
Sergei Zharinov
8b4fae31de
refactor(result): Reoder parameters for Result.parse (#24098) 2023-08-26 16:06:30 +00:00
Sergei Zharinov
ecbee400cb
feat(result): Add unwrapOrNull method (#24025) 2023-08-22 19:40:16 +00:00
Sergei Zharinov
5ed8bb2642
refactor(result): Separate unwrapOrElse from unwrap (#24014) 2023-08-22 12:10:08 +00:00
Sergei Zharinov
31b3f28d5d
feat(result): Add helper for Zod schema parsing (#23992) 2023-08-21 15:55:34 +00:00
Sergei Zharinov
be8a9f7d5a
feat(result): Extend wrapNullable to accept pure values (#23978) 2023-08-21 15:39:23 +00:00
Sergei Zharinov
c5c99695dd
feat(result): Support wrapping Zod schemas (#23725) 2023-08-06 16:40:35 +00:00
Sergei Zharinov
8c0013f1fc
fix(util/result): Types for wrapNullable (#23713) 2023-08-04 15:00:11 +00:00
Sergei Zharinov
674c6fca49
feat: Support Zod values in Result transforms (#23583) 2023-07-27 15:17:18 +00:00
Sergei Zharinov
f28fc24201
feat: Support .catch method for Result (#23505) 2023-07-22 13:16:10 +00:00
Sergei Zharinov
894a18354b
refactor: Make AsyncResult a PromiseLike (#23501) 2023-07-22 11:30:15 +00:00
Sergei Zharinov
58f7c03789
refactor: Better tests for Result class (#23473) 2023-07-20 15:59:31 +00:00
Sergei Zharinov
b641ec2738
refactor: Better Result class implementation (#23335) 2023-07-19 11:30:47 +00:00
Sergei Zharinov
8f39f500cb
refactor: Don't restrict error type for Result<T, E> (#23265) 2023-07-10 09:41:38 +00:00
Sergei Zharinov
ac114f1df0
feat: Utility class for Result values (#23059) 2023-06-30 15:48:38 +00:00