Closed Luckey-Elijah closed 7 months ago
There are 6 occurrences of the "union" RecordModel|AdminModel in the pockebase/dart-sdk:
RecordModel|AdminModel
pockebase/dart-sdk
Since dart does not have true unions I propose we implement some abstract parent type or with some mixin to provide "better than dynamic" types for locations in order to provide a better developer experience.
dynamic
With the planned refactoring this will be normalized and everything will be a Record.
Record
There are 6 occurrences of the "union"
RecordModel|AdminModel
in thepockebase/dart-sdk
:Since dart does not have true unions I propose we implement some abstract parent type or with some mixin to provide "better than
dynamic
" types for locations in order to provide a better developer experience.