CuriousCI

    CuriousCI

    2 months ago
    I don't know if anyone wants to help me develop https://github.com/CuriousCI/supertokens-rust. I've already setup the basis to call the
    core api
    and a few tests. Now I just have to actually start implementing each function. I just wanted to ask: recipes all have
    recipe_id
    , but nothing else in common (except for
    ingredients
    )
    ? Also, do I have to get the
    cdi-version
    programmatically by calling
    /apiversion
    ? (In the library for Python and for Go it isn't a "configuration parameter")
    r

    rp

    2 months ago
    Hey @CuriousCI appreciate this contribution!
    recipes all have recipe_id, but nothing else in common (except for ingredients)? They also all store the appInfo object (
    https://github.com/supertokens/supertokens-node/blob/master/lib/ts/recipeModule.ts#L24)
    Also, do I have to get the cdi-version programmatically by calling /apiversion? Yes, you do. There is no config for this that the user provides.
    CuriousCI

    CuriousCI

    2 months ago
    Thanks
    By the way, which Docker image should I use for testing? I'm currently using the instance on my computer for tests, but it would be 10 times better to use Docker with a standard testing image for the CDI.
    r

    rp

    2 months ago
    For testing, we don't really use the docker image and setup the dev env for the core itself: https://github.com/supertokens/supertokens-core/blob/master/CONTRIBUTING.md But if you want to use the docker image, that would work as well. But we don't have any separate one for testing. That being said, you can use
    https://try.supertokens.com
    and that should work for local dev.
    CuriousCI

    CuriousCI

    2 months ago
    Thanks, I got it