TekkenChicken / chicken-server

Backend for Tekken Chicken app
2 stars 2 forks source link

Added top level timestamp and first metadata controller test resolves #9 #15

Closed bdickason closed 7 years ago

bdickason commented 7 years ago

When scrubbing the data (via format), keep track of the highest (most recent) timestamp value and store that at the top level of the object.

This isn't elegant but it will get us to launch. I know you have a big refactor planned so figure it's worth getting this working quickly and then revisiting our architecture/schema.

bdickason commented 7 years ago

Note: Added happy path test coverage (via metadata.test.js), let me know if you want me to test edge cases before accepting.