originally posted in:BungieNetPlatform
View Entire Topic
Over on Destiny Item Manager, we're trying to be a little more efficient by using the EquipItems API instead of EquipItem. With the latter, we have to follow up with a call to get account info in order to update light level and stats, wheras EquipItems promises to provide that info as part of the equip response. However, what I've noticed in testing is that the character info returned by EquipItems doesn't always reflect the updated stats from equipping item(s). So, for example, if I have a 3-defense Ghost Shell equipped, and I equip a 320-defense shell in its place, the returned character info still has the same light level, instead of a higher light level. Same with int/dis/str stats.
This doesn't always happen - sometimes I do get the updated stats. Sounds like a read-after-write eventual consistency or caching problem to me, but I don't know the inner workings of the API. :-)
/cc @VThornheart
English
#Help
-
I have updated the [url=http://destinydevs.github.io/BungieNetPlatform/docs/DestinyService/EquipItems]EquipItems page[/url] to reflect this discussion. :)