Commit Graph
2 Commits
Author SHA1 Message Date
Bobby GalliandCharis b6fa0f528c docs: update with-ionic-angular.mdx (#18613)
* docs: update with-ionic-angular.mdx

* Fix compile errors
* Update syntax to match @supabase/supabase-js v2
* Correct spelling/grammar mistakes found by Grammarly

I waffled a bit on what to do about the untyped errors. I opted for any because the point of this tutorial is a minimal demostration of supabase that's approachable to a beginner/intermediate level developer. With that in mind, it felt more important to keep the code concise instead of type checking error in every catch block.  Totally open to feedback here.

Additionally, I was a bit indecisive on handling the API change re: returning errors instead of throwing. I opted to throw the error immediately if one was returned because that was the only way I could guarantee that the sample snippets worked the same as they did before this update without doing a deep dive.

* Apply suggestions from code review

* chore: run prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-21 19:50:37 +00:00
Bobby Galli 7ef690dcc4 docs: update auth-apple.mdx (#19257)
fix typo loose should be lose
2023-11-27 17:33:25 +00:00