Set custom values in response meta field
maxism opened this issue · comments
Max Ulianov commented
According to the documentation, we are to use ItemArray.setMeta
method to set up custom values in meta field. However, non-standard meta attributes defined in such way won't be added in any way to response, because in APIConstructor.response
or APIConstructor.error
methods ItemArray._meta
is being converted to standard view { total: total, count: count, offset: offset, error: error }
.
I think it would be great to have such functionality added.
Keith Horwood commented
I'll look into this for next release. Good call.