-
-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move from OrderedSet
to IdentifiedArrayOf
#1339
Comments
Oof, this requires a bit of thinking for my |
@LePips I found a new one. Selecting I tried some other similar locations like Similar Items / Recommendations, Search >
I did some digging and it looks like every on of these appropriately uses |
Ah, good catch. Fixed in #1354. For the runtime warning, that's always kind of been an issue when working with Stinsen. However since we'll be moving away from it I haven't thought about what it's warning about much but we shouldn't have to worry about it for much longer. |
Sadly yes it's related but it should all be in my The fact that the data source is an Edit: there is a bug in my project when the data updates and how things get laid out. Seems tricky. |
I've long thought about this but think we're going to run into this issue soon, especially with item deletion and updating throughout the app. I've run into some implementation issues while working on static notification payloads, and this will help with that.
We are very susceptible to the following structure, where our items have a ton of optionally-typed properties. In some contexts some properties may be set or not but we actually care about id equivalence.
We should migrate to swift-identified-collections instead for things like
PagingLibraryViewModel
and other contexts where we currently useOrderedSet
to representBaseItemDto
,BaseItemPerson
, and other items that conform toIdentifiable
.The text was updated successfully, but these errors were encountered: