2 ms·
Because you can add new properties for response-level global information on an object, but not on an array.
by layer8 3y ago
Because you can add new properties for response-level global information on an object, but not on an array.
- esafak 3y agoObviously if it was global, but if not, you'd include it in the objects in the array, no? This is not a question of schema evolution per se.
- layer8 3y agoYes. The TFA argument is about top-level information, for example when paging through a collection. Personally I think HTTP headers could fit the purpose for such meta information.