3 ms·
Hey HN, this is one of the things we've been working on in our alpha -> beta transition. We received a lot of feedback from the community and we've incorporate
by kiwicopple 6y ago
Hey HN, this is one of the things we've been working on in our alpha -> beta transition.
We received a lot of feedback from the community and we've incorporated it into our client libraries for our 1.0 release.
The nice thing about supabase-js is that it is modular, wrapping 3 other libraries. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing OSS tools. Already we are seeing other communities[1] leverage the work we've done for PostgREST.
We also migrated completely to TypeScript, and added some opinionated functionality, such as returning errors [2] instead of throwing them.
Enjoy!
[1] Tezos blockchain using our postgrest libraries: https://pro.tzkt.io/ https://pro.tzkt.io/
[2] Returning errors: https://supabase.io/blog/2020/10/30/improved-dx#errors-are-returned-not-thrown https://supabase.io/blog/2020/10/30/improved-dx#errors-are-r...