All technical documents for this library.
- Migration guide for v9 to v10 major breaking change upgrade
- This details how to migrate from v9 to v10 to handle the breaking API change, and explores the motivation behind the new API.
- Migration guide for v8 to v9 major breaking change upgrade
- This details how to migrate from v8 to v9 to handle the breaking API change, and explores the motivation behind the new API.
- Migration guide for v7 to v8 major breaking change upgrade - This details how to migrate from v7 and earlier to v8 to handle the breaking API change, and explores the motivation behind the new API.
- Errors vs Exceptions
- Explores the difference between Errors and Exceptions, to lay the context for the doc on Exception handling.
- Exceptions handling
- Explores how this library handles Exceptions and how it makes life easier for users with less code than most other libraries.
- Runtime response validation (these docs explore how to use various methods to do response validation at runtime to ensure that they match the types defined at compile time)
- Hand written validation
- Explores how to use hand written validation functions for response validation.
- Although possible, this is not the recommended approach, see validation with
Zod
instead.
- Response validation with Zod
- Explores how to use Zod for response validation using the exported parser adapter function.
- Hand written validation
- firebase auth
- Documentation on integrating firebase auth with this library.
- Why is fetch not exposed
- Explores the reason why
fetch
is not exposed by the library unlike other HTTP client libraries.
- Explores the reason why
- return this
- Explores the reasoning for including
return this
andreturn ClassName
in most methods.
- Explores the reasoning for including
- archive/
- Archive folder for old documentations that might still be referenced. For any details on the latest version of the library, this can be safely ignored.