Skip to content

Split get/set from embedded#236

Merged
markstory merged 1 commit intocakephp:masterfrom
CauanCabral:master
May 22, 2020
Merged

Split get/set from embedded#236
markstory merged 1 commit intocakephp:masterfrom
CauanCabral:master

Conversation

@CauanCabral
Copy link
Copy Markdown
Contributor

@CauanCabral CauanCabral commented May 18, 2020

Same changes as I did on 2.x branch.

* @param string $name The name of the class to use
* @return $this
*/
public function setEntityClass($name)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one minor change left on your other pull request. After that I can get it merged. Once it is merged, could these changes be rebased as there are a lot of overlapping changes right now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried review boths PR and don't find anything left - just some docs. Can you point to me?

Updated with docs and a fix for Index looking for documents on entity namespace. Included some tests.

Update tests
Correct namespace of app test, so App can find internal classes
Fix tests expecting a generic Document when exists a proper document for it
Fix Index using Model/Entity as type to load Document
Include same tests and fix other metions to table/rows
@CauanCabral
Copy link
Copy Markdown
Contributor Author

Rebased

@markstory markstory merged commit 04a226e into cakephp:master May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants