supabase-community / supabase-csharp

A C# Client library for Supabase
https://github.com/supabase-community/supabase-csharp/wiki
MIT License
501 stars 51 forks source link

Add Shutdown enum to Client. Lang level 9. #79

Closed wiverson closed 1 year ago

wiverson commented 1 year ago

What kind of change does this PR introduce?

Tiny bug fix to support the Shutdown enum from the Gotrue client update. Sets the Lang Level to 9 in the csproj.

What is the current behavior?

The current Client emits an unknown argument exception, which in turn is caught by the invoke handler for auth state changes by Gotrue. This doesn't crash but does result in debug noise.

wiverson commented 1 year ago

BTW I'm not as familiar with Git modules - I think I did this right w/updating the references but do double-check my work.

wiverson commented 1 year ago

When you get a chance can you kick off a new build with this this PR? Thanks!

acupofjose commented 1 year ago

Sure - had to get the other repos version bumped too. Should be building now for you!