hastodon
hastodon copied to clipboard
Some Argument Types Use Show Instances That Render Them Invalid
StatusIds, NotificationIds and AccountIds are using a default show instance to render to the API. This means that all GET calls for notifications will not be able to use the "in_reply_to_id" or the "since_id" features.
These probably require a unique instance in their argument type. I've been patching it with instances like this:
instance Show StatusId where
show = unStatusId
However, this is really not the best option as it makes debugging worse.