supabase-community / supabase-ex

A complete Toolkit to interact with Supabase APIs from Elixir
https://hexdocs.pm/supabase_potion
MIT License
122 stars 3 forks source link

Extract User API to handler structure #37

Closed zoedsoupe closed 1 year ago

zoedsoupe commented 1 year ago

Problem

The User API implementation was mixing the public API interface with request/endpoints logic

Solution

So I decided to follow the Admin API and use a handler module to interact direct with the API and the public interface only works as glue code.

Rationale