feat: pluggable content type support (polls, emoji reactions, etc.) #5

Open
opened 2026-05-30 01:22:30 +00:00 by GKaszewski · 0 comments
Owner

Currently ApObjectHandler callbacks receive raw serde_json::Value — consumers parse activity-specific fields themselves. There's no structured way to handle content types beyond Note (polls, questions, emoji reactions, events, etc.).

Consider a registry or trait-based extension system where consumers can register handlers for specific AP object types without modifying k-ap itself.

Currently `ApObjectHandler` callbacks receive raw `serde_json::Value` — consumers parse activity-specific fields themselves. There's no structured way to handle content types beyond Note (polls, questions, emoji reactions, events, etc.). Consider a registry or trait-based extension system where consumers can register handlers for specific AP object types without modifying k-ap itself.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GKaszewski/k-ap#5