SuperEvilMegacorp / vainglory-assets

Community provided art, schemas, and other assets that make using the Vainglory API easier
https://developer.vainglorygame.com
MIT License
54 stars 40 forks source link

Bug: Player CreatedAt is overwritten each time they play #273

Open svperfecta opened 7 years ago

svperfecta commented 7 years ago

It should be set the first time a match with the player is received.

cklugewicz commented 7 years ago

If this is changing, there ought to be a 'lastModified' property added to { player }

schneefux commented 7 years ago

Our site depends on createdAt the way it works currently.

Unlike matches, players need an attribute to compare the recency of an API object with a cached object in the database.

If you want to change createdAt's behavior, you should add updatedAt.

svperfecta commented 7 years ago

This is up next. The root issue is a change required to our ingest pipeline. I'm personally working on this starting tomorrow.