generated from coulomb/repo-seed
fix(WP-0017/E5): Layer 3 error fixes — round 3 (24 files)
Int16→Int in score/stars functions; uuid-based readMay→UUID.fromText; autoRefresh do-notation fix; id→\x->x ambiguity in HubRoutingRules; MarketplaceDashboard replaced raw SQL with IHP query builder; optional hub selector in TypeRegistry views via CanSelect (Text, Maybe Id) instance added to Web.View.Prelude; import consolidations to Web.View.Prelude. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,3 +23,9 @@ instance CanSelect (Text, Id' tag) where
|
||||
type SelectValue (Text, Id' tag) = Id' tag
|
||||
selectValue (_, v) = v
|
||||
selectLabel (l, _) = l
|
||||
|
||||
-- | Allow [(Text, Maybe (Id' tag))] option lists (e.g. optional hub selectors).
|
||||
instance CanSelect (Text, Maybe (Id' tag)) where
|
||||
type SelectValue (Text, Maybe (Id' tag)) = Maybe (Id' tag)
|
||||
selectValue (_, v) = v
|
||||
selectLabel (l, _) = l
|
||||
|
||||
Reference in New Issue
Block a user