wrappers icon indicating copy to clipboard operation
wrappers copied to clipboard

Depend on a specific version of the `supabase-wrappers` project instead of a path based dependency

Open imor opened this issue 2 years ago • 2 comments

Chore

Describe the chore

Depend on a specific version of the supabase-wrappers project instead of a path based dependency

Additional context

The path based dependency can stay as it is useful during dev, but we should build against a released version of supabase-wrappers to better dogfood the crate.

imor avatar Oct 12 '23 10:10 imor

Would love to ! Especially that


-- Disable the "wrappers" extension
drop extension if exists wrappers CASCADE;

-- Enable the "wrappers" extension
create extension wrappers with version "0.1.17";


Doesn't work

image

And would be interesting for projects that need consistency :)

StanGirard avatar Nov 20 '23 23:11 StanGirard

@StanGirard this chore was about updating this line in Cargo.toml to use a specific version instead of a relative path. It wouldn't change anything about how drop/create extension works.

For the error you see, can you check whether select * from pg_available_extensions where name = 'wrappers'; shows version 0.1.17?

imor avatar Nov 21 '23 05:11 imor