Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

fix: unescape params #2

Merged
merged 1 commit into from
Sep 10, 2023
Merged

fix: unescape params #2

merged 1 commit into from
Sep 10, 2023

Conversation

dongsuo
Copy link

@dongsuo dongsuo commented Sep 9, 2023

What to fix:
failed to query when target value is url

I got a column whose value is url, for example column name is url and the value is https://www.cnblogs.com/lyzg/p/5125934.html

When I do the query like this: client.SupaClient.DB.From(DB_NAME).Select("*").Filter("url", "in", fmt.Sprintf(("%s"), url))
It can't query any record out.

I found it's because supabase-go encode the query params before send the request.

@nedpals nedpals merged commit f17d8fd into nedpals:main Sep 10, 2023
@Ra0k
Copy link
Contributor

Ra0k commented Nov 11, 2023

This actually caused to fail some other uses cases:
nedpals/supabase-go#28
nedpals/supabase-go#26

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

Successfully merging this pull request may close these issues.

3 participants