The wasteof.money api has some weird things that are messing up my app. For example: if you request a post, it will not include the repost parameter if it is not a repost. And some revisions will include the current parameter (if they’re the current one) and some will also include an editor parameter that says who did the edit.

All of this really messes with my app, because of type safety and such.

comments

you could just make the fields optional

that’s what I did actually

what if you just do `if current in (whatever): do stuff`