Our great sponsors
-
io-ts is written by Giulio Canti and offers runtime type validations. For more information on io-ts consult the README. The terminology we will use is to encode/decode is codecs, so called runtime representations of specific static types and these codecs can then be composed to build even larger type validations.
-
There are more improvements we could make, but we should have a basic understanding of why it might be useful to validate any external data at runtime. io-ts offers more features handling recursive and optional types. Furthermore there are libraries like io-ts-promise that provide more features and useful helpers, the above decodePromise, for example, is available in a more advanced variant via io-ts-promise.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!