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

    madjar

    01/13/2023, 1:13 PM
    yo how do you guys test supabase btw, considering that its all on a remote server
  • m

    madjar

    01/13/2023, 1:14 PM
    do you like, hire a bunch of high schoolers to click it all the way down or what
  • m

    madjar

    01/13/2023, 1:14 PM
    test the triggers and functions is what i meant : D
  • s

    silentworks

    01/13/2023, 1:15 PM
    I'm also from an OOP background but even in OOP land I moved away from inheritance and started using compositions instead. I would suggest having two different functions and if they share similar code then you can use composition for that, so you create the shared code in a different function and use that in each of the other functions. What you will realise later is that these two functions will diverge and it will be easier to maintain this way.
  • s

    silentworks

    01/13/2023, 1:18 PM
    You use something like Playwright to create e2e tests on your app and test out the functionality that is using these functions or you can use the supabase CLI to write tests with pgTAP and test these all in your database. Do note that you can run supabase locally so you can write tests against the local setup and also run them in your deployment pipeline against your code too.
  • m

    madjar

    01/13/2023, 1:19 PM
    aaaight thats the one i was looking for. I was thinking also about just running a bunch of jest tests of some sort but i totally forgot about supabase cli
  • m

    madjar

    01/13/2023, 1:19 PM
    thanks!!!
  • a

    Alaanor

    01/13/2023, 5:46 PM
    hello, has anyone made supabase working through a webextension ? I'm particulary interest on how you handled the auth
  • a

    Alaanor

    01/13/2023, 6:56 PM
    Ok I found the answer However how the email magic link could be handled on a webextension, I have no clue
  • r

    RB_Gaura

    01/13/2023, 9:20 PM
    is logging in to supabase slow to anyone?
  • u

    umbriel

    01/13/2023, 9:20 PM
    Mines completely down
  • r

    RB_Gaura

    01/13/2023, 9:20 PM
    Specifically with github?
  • r

    RB_Gaura

    01/13/2023, 9:20 PM
    mine logged in, but took a while
  • u

    umbriel

    01/13/2023, 9:26 PM
    just in general, logging in, signing in with temp emails. Even just loading the app itself
  • u

    umbriel

    01/13/2023, 9:27 PM
    I tried other apps also built on Supabase and they all dont load either, but no one seems to notice? Maybe its a specific region thats affected
  • d

    DYELbrah

    01/13/2023, 11:48 PM
    Thanks @silentworks I appreciate the response! After doing research on composition, I believe this will 100% be the way to go. I actually got a really nice workflow going now with Supabase and a bit of OOP using composition. I think I might create an article or something for users here to see how this will save them a lot of time/make code less repetitive.
  • y

    yōkai

    01/14/2023, 12:20 PM
    i like supabase ❤️
  • c

    corey

    01/14/2023, 1:33 PM
    Where is the best place to ask a generic question
  • c

    corey

    01/14/2023, 1:33 PM
    It's not specifically a help query, more like I want to survey the communities opinion on something (not a poll, just a question)
  • g

    gweb

    01/14/2023, 1:36 PM
    I'm unable to post a question.. any clue why? first I get a generic 'error' from discord, and then I go into the 5min spam rate filter..
  • g

    garyaustin

    01/14/2023, 1:54 PM
    You have to select a tag and some have reported too much text in first post errors.
  • k

    koshchei

    01/14/2023, 2:50 PM
    Please, can you read and help a bit with this decision: https://github.com/paragoda/vesna/discussions/1 . I think your opinion is valuable.
    s
    • 2
    • 1
  • g

    gweb

    01/14/2023, 3:03 PM
    I did select two tags
  • g

    gweb

    01/14/2023, 3:03 PM
    I've been trying to post since 2 hours
  • g

    garyaustin

    01/14/2023, 3:13 PM
    Then you will have to ask your question here. We don't have anything special going on with Discord, so not much we can do to help on the posting frong.
  • g

    gweb

    01/14/2023, 4:11 PM
    I've been struggling with Sveltekit/Auth for some days now: https://github.com/supabase/supabase/issues/11663
  • o

    Olyno

    01/14/2023, 4:20 PM
    I know you have difficulties to post in #1006358244786196510, but please don't ask for help here, it's what we're saying for months now @gweb
  • s

    silentworks

    01/14/2023, 9:38 PM
    Order based serialization · Discussion #...
  • j

    J0rdan

    01/15/2023, 12:03 AM
    No normal channel to discuss realtime supabase?
  • j

    J0rdan

    01/15/2023, 12:04 AM
    I just wonder what would be the benefits of switching from prisma to supabase with react query dx wise.
1...336337338...392Latest