Closed
Description
Hello,
I've found that entities are completely replacing the intended response within an endpoint, acting as if they are in the first level.
what I'm doing:
{
:status => 200,
:data => {
:user => present(user, :with => API::Entities::User)
}
}
What it returns:
{
:id => 100,
:name => 'Jane Smith'
}
It's returning the correct data for the entity, but I lost all of the nesting that I'd like to have. Is there's something I am missing, that I should be doing to keep the nesting that I would like? I'm using the git master at rev b5b6d48 when I'm seeing this.
Metadata
Metadata
Assignees
Labels
No labels