supabase-community / gotrue-csharp

C# implementation of Supabase's GoTrue
https://supabase-community.github.io/gotrue-csharp/api/Supabase.Gotrue.Client.html
MIT License
39 stars 27 forks source link

Add interfaces, bug fixes, additional error reason detection #60

Closed wiverson closed 1 year ago

wiverson commented 1 year ago

What kind of change does this PR introduce?

Adds a few of the new methods to the interfaces so they are accessible via the parent supabase-csharp.

Also adds several additional Reasons to help with failures.

What is the current behavior?

A few new methods were only available via the concrete classes, not the interfaces. This means they are not available when using the main supabase client to access (e.g. _supabase.Auth).

What is the new behavior?

Added the missing methods to the interfaces. Also updated the test cases to use the interfaces instead of the concrete implementations to help reduce this error in the future.

Additional context

Builds on the changes from https://github.com/supabase-community/gotrue-csharp/pull/57

wiverson commented 1 year ago

Sorry, more bug fixes included.

acupofjose commented 1 year ago

Available in 4.0.1 - Thank you!