• r

    rp

    4 months ago
    Fair point. Can you open an issue about this please?
  • BeeMoe

    BeeMoe

    4 months ago
    okay
  • r

    rp

    4 months ago
    Actually, on second thought, this function would only be called when our SDK’s APIs are being run, and they expect a JSON input. If the input to them is not JSON, then they would throw a bad request error (400 status code). Returning an empty JSON object from that function would make them do that.
  • r

    rp

    4 months ago
    If instead, that function thrown an error, the API would return a 500 error status code
  • r

    rp

    4 months ago
    Which would be misleading
  • BeeMoe

    BeeMoe

    4 months ago
    oh okay
  • BeeMoe

    BeeMoe

    4 months ago
    where do i see what isn't supposed to be used by anything other than the SDK API's?
  • r

    rp

    4 months ago
    Mostly via our docs, if u search for a function and u can’t find it in our docs, it’s probably an internal one. Also all the functions in the recipe folders -> asyncio / syncio package as well as exposed to the users
  • BeeMoe

    BeeMoe

    4 months ago
    oh okay
  • CuriousCI

    CuriousCI

    4 months ago
    https://github.com/CuriousCI/supertokens-django Now I have some free time, I just started creating the Django template! I'll let you know when it works!