Comment on Introducing New Fediverse Software, Goofed v0.0.1, Minimum Viable Shitpost Edition

<- View Parent
admin@scrapetacular.ydns.eu ⁨3⁩ ⁨days⁩ ago

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

source
Sort:hotnewtop