Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0 Entity->toArray() should recurse #2341

Closed
markstory opened this issue Nov 17, 2013 · 1 comment
Closed

3.0 Entity->toArray() should recurse #2341

markstory opened this issue Nov 17, 2013 · 1 comment
Assignees
Milestone

Comments

@markstory
Copy link
Member

Currently when you call toArray() on an entity, only that entity's properties are converted to an array. Any eagerly loaded associations are returned as entity objects. I would have expected that toArray() would recurse down the related entities.

@markstory
Copy link
Member Author

Closing as the related pull request has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant