https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • m

    mlusetti

    01/15/2022, 4:47 PM
    Hi all... Does supabase expose (in the rest api or graphql) only the "public" schema or every schema I eventually create ?
  • m

    mlusetti

    01/15/2022, 5:04 PM
    Sorry for the noise... I read the answer to my question...
  • m

    moein

    01/15/2022, 7:24 PM
    https://twitter.com/moein_tech/status/1482387851941711879 Please let me know if you are interested πŸ˜ƒ
  • u

    ➰ Im an Orange ➰

    01/16/2022, 12:24 PM
    Can you move your data to self hosted easily ?
  • c

    CMalli

    01/16/2022, 11:40 PM
    Hello everyone, I hope you have a great week. tl;dr Are there any plans or alternatives to the below project for Kotlin (Multiplatform) support? Full message I plan to use Supabase on a Kotlin Multiplaform project. There, I need Supabase for Kotlin and didn't find a complete stack like for JavaScript. So I started migrating the entire supabase-js stack (Client, PostgREST, GoTrue, Realtime, Storage) to Kotlin Mulitplatform. The project can be found here https://github.com/malliaridis/supabase-kt (it lacks of documentation and tests tho). πŸ‘€ Are there any alternatives known yet for Kotlin Multiplatform? Due to the lack of time I am not able to finish and keep up-to-date this project alone. I would like to know what your thoughts of this approach are. I would also appreciate any feedback or input from (Kotlin) developers. PS. I looked into the code of the existing kotlin projects and I liked the modularity. But I chose a simpler approach for start due to the extended scope of the project.
  • s

    saiarjun546

    01/17/2022, 10:41 AM
    hey thr
  • s

    saiarjun546

    01/17/2022, 10:41 AM
    now that i am back
  • s

    saiarjun546

    01/17/2022, 10:41 AM
    i would like to know
  • s

    saiarjun546

    01/17/2022, 10:41 AM
    why i was kicked from this server
    c
    • 2
    • 5
  • t

    Terry

    01/17/2022, 12:20 PM
    I'm confused about the api key setup with Supabase
  • t

    Terry

    01/17/2022, 12:20 PM
    If the api key is available on the client, aren't basically all of my tables publicly exposed?
    s
    • 2
    • 1
  • t

    Terry

    01/17/2022, 12:21 PM
    I can setup RLS to prevent updating them, but there's no way to prevent reading them?
    s
    • 2
    • 2
  • t

    Terry

    01/17/2022, 12:28 PM
    ie: Since you can't query the users table, I can setup a function to copy a user to a
    public.private-users-info
    table when created, but won't that also be exposed publicly?
  • s

    silentworks

    01/17/2022, 11:35 PM
    It's probably best to explain what you are trying to accomplish here, the docs outline ways of handling some of this stuff too so it might be worth reading through it a bit.
    j
    • 2
    • 1
  • t

    Terry

    01/17/2022, 12:36 PM
    I'm thinking I could: make the
    public.private-profiles
    table not publicly readable and use a service role to access the value I need on the backend?
  • h

    Hal

    01/17/2022, 12:36 PM
    when using workers, is it fine to createClient on every call?
  • c

    chipilov

    01/17/2022, 1:08 PM
    Anyone else having a problem when making RPC calls to the backend like this:
    • 1
    • 1
  • t

    Terry

    01/17/2022, 3:52 PM
    Also, related to previous ^^ I'm curious how the service role should be used. I'd like to avoid using triggers/functions in Supabase, preferring to keep everything in my app. Could I use a service role via a backend api route to do the work of a trigger/function instead?
  • c

    CMalli

    01/17/2022, 4:22 PM
    Reason for getting kicked
  • c

    copple

    01/17/2022, 8:33 PM
    @User Apologies for using this handle for unofficial Supabase notifications, but it seems important. If you receive a message from
    @Kiwicopple#9153
    , they are NOT me and you should report them. If you receive a message from anyone who claims to be on the Supabase team, please double-check who they are before responding. They should have the
    @Team
    role on the server as a side note, I'd never use
    Kiwicopple
    , only
    kiwicopple
    πŸ˜›
  • l

    Link

    01/17/2022, 8:34 PM
    ok
  • c

    cole

    01/17/2022, 8:44 PM
    copple impersonation is a crime punishable to the highest extent of the law
  • s

    silentworks

    01/17/2022, 11:33 PM
    Arent all my tables public
  • s

    silentworks

    01/17/2022, 11:33 PM
    RLS to prevent create, read, update and delete
  • s

    silentworks

    01/17/2022, 11:34 PM
    User info
  • v

    Vexmachina

    01/18/2022, 4:41 AM
    Is it possible to use the supabase API to do a bulk insert, and do nothing if the row already exists? I see upsert, but that would update the row if it exists. What if I don't want to update it?
  • v

    Vexmachina

    01/18/2022, 4:42 AM
    Or would upsert without any actual changes to the row be effectively the same as doing nothing from a usage/writing standpoint?
  • l

    lawrencecchen

    01/18/2022, 7:15 AM
    Why does email auth redirect use hash instead of query parameters? eg. "#access_token=..." instead of "?access_token=...". Hashes (#) aren't sent to the server so can't handle redirect via a server route and instead have to make a client roundtrip to read the hash and then send it to the server. Others have mentioned this before, I'm curious if there's an actual reason.
  • l

    lawrencecchen

    01/18/2022, 7:37 AM
    Seems like it comes from this line: https://github.com/netlify/gotrue/blob/master/api/external.go#L215. Any chance this can change?
  • c

    copple

    01/18/2022, 7:47 AM
    Hey Lawrence! The Hash is part of the OAuth spec but this is landing soon: https://github.com/supabase/gotrue/issues/279
1...181182183...392Latest