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

    andreterron

    11/20/2022, 6:40 AM
    Oh, awesome! I've been wanting optimistic updates that don't require manually updating a cache or triggering a refetch, and this seems to be related. Posted on the forums about it too: https://discord.com/channels/839993398554656828/1043720042199658526
  • f

    franfernandez

    11/20/2022, 11:42 AM
    Hi there !! A quick question 🙂 How is calculated "Monthly Active Users"? What this data means, there are some documentation or explanations ??
  • a

    Anurag

    11/20/2022, 1:07 PM
    uh actually i cant access the dashboard since then
  • a

    Anurag

    11/20/2022, 1:07 PM
    still not working
  • a

    Anurag

    11/20/2022, 1:07 PM
    any idea?
  • a

    Anurag

    11/20/2022, 1:07 PM
    i tried clearing the app data.
  • a

    Anurag

    11/20/2022, 1:11 PM
    also i need to access it urgently
  • j

    juri

    11/20/2022, 2:06 PM
    ahoi
  • g

    garyaustin

    11/20/2022, 3:08 PM
    @Anurag you will likely need support to help (especially if you are the same user that posted on github about resuming the instance)
  • a

    Anurag

    11/20/2022, 3:09 PM
    ah nope, youre mistaking me for someone else ig
  • a

    Anurag

    11/20/2022, 3:10 PM
    lemme submit a new support request
  • g

    garyaustin

    11/20/2022, 3:10 PM
    OK, just for reference, but I don't think it had any help for you .... https://github.com/supabase/supabase/discussions/6637#discussioncomment-4187215
  • a

    Anurag

    11/20/2022, 3:10 PM
    ayo even this page doesnt work
  • a

    Anurag

    11/20/2022, 3:13 PM
    the network requests are failing
  • l

    lucasb

    11/20/2022, 3:40 PM
    https://supabase.com/docs/guides/auth/auth-helpers/remix#authentication would it be possible to add an oauth example to this and not just email,password?
  • o

    Olyno

    11/20/2022, 5:21 PM
    There is this one, but the Rust package is not finished yet
  • s

    szhang

    11/20/2022, 8:08 PM
    hmmm does it work with auth?
  • s

    szhang

    11/20/2022, 8:09 PM
    or is it just the postgres db
  • o

    Olyno

    11/20/2022, 9:28 PM
    It's a crate for the postgres part. The auth part would be "gotrue", but not existing at this time
  • s

    szhang

    11/20/2022, 10:35 PM
    ah ok thank you
  • s

    silentworks

    11/20/2022, 11:03 PM
    I've been wanting to play with zod [https://github.com/colinhacks/zod] to help with my Typescript schema validations, but I'm wondering if it can also be used as a validator for data. So in my case if I send data from a form I wonder if zod would work as a validator (I'm gonna test this out). I would love to hear what everyone is using for validation and stuff like this. At the moment I mainly use vest[https://vestjs.dev/] for all my data validation needs.
  • j

    Jason Creviston

    11/20/2022, 11:50 PM
    I was thinking I saw somewhere that others are using zod for data validation. If I can find it, I'll post. I am a noob at it. Ran across this on npm, and am currently trying it. https://www.npmjs.com/package/validatorjs
  • s

    silentworks

    11/20/2022, 11:51 PM
    Ah nice and it's based off the Laravel Framework validator which I thought was quite good when I used it in the past.
  • j

    Jason Creviston

    11/20/2022, 11:53 PM
    Yep, Zod can be used for both.
  • s

    silentworks

    11/20/2022, 11:56 PM
    I wonder what the error messages are like, I'm going to run a test tomorrow and see what the errors look like. I just tried out Superstruct[https://docs.superstructjs.org/] which looks similar to zod but the default error messages weren't pretty at all.
  • j

    Jason Creviston

    11/20/2022, 11:59 PM
    Give me a sec, I'll post.
  • j

    Jason Creviston

    11/21/2022, 12:15 AM
    Well, I thought it would be a sec 🤣
  • j

    Jason Creviston

    11/21/2022, 12:56 AM
    Ok @silentworks here ya go. A bit generic, but you can also pass in custom errors. Given
    const message = new Validator(data, rules)
    , this is the log of
    message.errors
    . But I've been using
    message.errors.errors
    to get down to the nested
    errors
    object. In my test case, I passed a string for signatures instead of an array.
    Copy code
    js
    Errors {
      errors: {
        payload: [ 'The payload field is required.' ],
        signatures: [ 'The signatures attribute has errors.' ]
      }
    }
  • j

    Jason Creviston

    11/21/2022, 12:57 AM
    Overall, if another library can do one definition for typescript and data validation I think it would be better. I haven't delved into Zod either; besides reading a bit of the docs.
  • k

    konga

    11/21/2022, 5:49 AM
    This is kind of a hypothetical question but what would be a way that you could scale Postgres if you had millions of users?
1...296297298...392Latest