Skip to content

Fails to build due to PostgREST master branch dependency #52

Closed
@glowcap

Description

@glowcap

Bug report

Describe the bug

Build attempts fail due to changes in PostgREST master branch

  • FunctionsClient init change
  • PostgrestClient init change
  • FunctionsHTTPClient removal
  • PostgrestHTTPClient removal

To Reproduce

  1. Create new project (or have existing project)
  2. Add supabase-swift SPM dependency as described in README
  3. Attempt to build the project
  4. See errors in SupabaseClient.swift

Expected behavior

Should build without issue

Screenshots

Screenshot 2023-01-02 at 1 00 27 PM

Additional context

Switching to the Release Candidate #45 most recent commit solves the issue (albeit not ideal)

.package(name: "Supabase", url: "https://github.com/supabase/supabase-swift.git", branch: "release-candidate")

It seems like shifting the master branch to tagged dependencies from here on would avoid issues like these popping up

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions