Skip to content

fix(postgrest): ensure Sendable conformance for execute method #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Jul 2, 2025

Summary

This PR addresses a compilation issue that occurs when using within a MainActor-isolated context. The method in has been updated to ensure conformance, allowing it to be safely used in concurrent environments.

Changes

  • Modified to add conformance to the generic type in the method.
  • Added to the file.

Testing

  1. Compile the project with the updated code.
  2. Verify that the compilation error related to conformance is resolved.

Fixes #739

@coveralls
Copy link

Pull Request Test Coverage Report for Build 16020601850

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 75.68%

Totals Coverage Status
Change from base Build 15556137759: 0.01%
Covered Lines: 5231
Relevant Lines: 6912

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SupabaseClient.execute() fails to compile inside @MainActor`
2 participants