- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 21 Sep 2021 01:08:19 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 September 2021 08:08:31 UTC
Notifications API could have used this for its body and title members. Instead it has dedicated dir and lang members that end up applying to both, with appropriate defaulting. It's not entirely clear to me that a type is the way to go. Although it encapsulates things nicely, it doesn't necessarily result in the best API for developers. Personally I have slight preference for the flatter approach from the Notifications API. It does seem good if there's shared language regarding how to render the combination of these members. (Which seems more like an Infra than a Web IDL thing to me.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/1025#issuecomment-923741145
Received on Tuesday, 21 September 2021 08:08:31 UTC