@grishka and comment ap id is like below, not whats linked in the ui.
@grishka this is my code. its great because a lot of things can be verified at compile time. and thanks to rust i dont have to write any (de)serialization code, just a derive annotation.
https://github.com/LemmyNet/lemmy/blob/main/crates/apub/src/protocol/activities/following/follow.rs
https://github.com/LemmyNet/lemmy/blob/main/crates/apub/src/activities/following/follow.rs
@felix depends on the codebase really. If you annotate things with Nullable/NotNull, you'll get warnings where there could be a null and you're dereferencing it without checking. I don't get many NPEs these days.
> once rust compiles, it works
except when it panics ;)