Code review comment for lp://staging/~larsu/indicator-messages/add-simple-dbus-api

Revision history for this message
Lars Karlitski (larsu) wrote :

> I don't think that we want an interface that is based on passing dictionaries
> around. I'd rather have something that is more explicit about the structure of
> the notification, what is required and what the behavior is.

Dictionary keys are well-defined and expected to be implemented by the server. What do you suggest? A D-Bus method call with everything as arguments?

> I think without that we end up with the same "hints problem" we have with fd.o
> Notifications today (which is a complete mess).

No, it wouldn't. Unity8 is _required_ to implement everything in the dictionary. There's nothing hint-like about these keys.

« Back to merge proposal