You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue I want to keep open and updated, because it's quite hard to keep up to date with the data and how / what / when I'm updating items data from the API and put it inside the app.
NookPlaza grouped houseware, art, miscellaneous and wall-mounted into one furnitures endpoint. It also change a bit the JSON response.
I've been able to import it only for Furnitures (the most important, changing data as game update). The only change in our Item Codable object is that obtainedFrom is now an array instead of a String. So from the source JSON i've renamed obtainedFrom to obtainedFromNew and we have both properties in our Item model for "old" items and new items.
Once I'll migrate all categories / endpoint I'll be able to remove the obtainedFrom completely and keep only the new one as an optional to allow legacy items in UserCollection to still be decoded.
The text was updated successfully, but these errors were encountered:
This is an issue I want to keep open and updated, because it's quite hard to keep up to date with the data and how / what / when I'm updating items data from the API and put it inside the app.
Latest: 99e6eb1
NookPlaza grouped houseware, art, miscellaneous and wall-mounted into one furnitures endpoint. It also change a bit the JSON response.
I've been able to import it only for Furnitures (the most important, changing data as game update). The only change in our
Item Codable
object is thatobtainedFrom
is now an array instead of a String. So from the source JSON i've renamedobtainedFrom
toobtainedFromNew
and we have both properties in ourItem
model for "old" items and new items.Once I'll migrate all categories / endpoint I'll be able to remove the
obtainedFrom
completely and keep only the new one as an optional to allow legacy items in UserCollection to still be decoded.The text was updated successfully, but these errors were encountered: