Elektrine lite

← Feed

@kylebshr@mastodon.social

2026-03-31 21:32 UTC

@mergesort you'll find extensions with constraints to optionals, so I think it'll work fine. I think there are internal tools to introspect if a view is EmptyView more easily than we have (or had, we have that new Group API now), so optional wasn't as necessary for internal views.

Replies (1)

  • @mergesort@macaw.social 2026-03-31 21:46

    @kylebshr No shit, never noticed that so it seems like their usage is mixed. But I don't think you need anything special, I just do a check to see if the view is EmptyView.self.

    Open ##1249918