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
Currently when you query for a deck through the API you just get a list of UIDs in the deck.cards property. That means for displaying names and other information in the deck builder I first need to convert the UIDs to proper card objects. It would be convenient if deck responses would contain the full card objects.
The text was updated successfully, but these errors were encountered:
I think it makes more sense for the client to deal with this than the server, as the client already has all this data stored.
I believe all the card info is just stored in an array on the client side now, so maybe to make it more efficient it should be converted/copied to a map once loaded and then in the template you can just do something like cardMap[uid].Name?
Currently when you query for a deck through the API you just get a list of UIDs in the deck.cards property. That means for displaying names and other information in the deck builder I first need to convert the UIDs to proper card objects. It would be convenient if deck responses would contain the full card objects.
The text was updated successfully, but these errors were encountered: