• 1 Post
  • 21 Comments
Joined 10 hours ago
cake
Cake day: March 10th, 2026

help-circle




  • Whoa senpai noticed me. There actually is a recursive query format in the latest sqlite for this exact situation, Postgres may have something similar, I just thought a list is fine for the web UI. I’ll have to benchmaxx and pick a strategy for the API.

    I actually read that FEP. In my code that is too shameful to release yet, I look for an Object, then look for its Type, then figure out how to deserialize the rest of the object, but this object doesn’t have one. Would it be possible to do something like this:

    {
      "object": {
        "type": "LikeCollection",
        "likes": [like1, like2, ..etc]
      }
    }
    

    Or is that weird. Spare a thought for those in less dynamic languages :D