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

Modify DoctrineWriter adding capability to persist entities with relatio... #155

Merged
merged 5 commits into from
Mar 7, 2015

Conversation

gnat42
Copy link
Contributor

@gnat42 gnat42 commented Jan 23, 2015

I was hoping this would be somehow linked to PR #20 however that doesn't seem to have occurred.

Javier Seixas and others added 4 commits January 22, 2015 22:49
…tions

Conflicts:
	src/Ddeboer/DataImport/Writer/DoctrineWriter.php
Instead of fetching all associations from the DB. Create an entity
reference for linking purposes.
Test that the entity manager getReference function is called properly
It is possible that the association field may already have an object
loaded by the users converters. So only create a reference if the data
in the association field is not already an object.
@Baachi
Copy link
Collaborator

Baachi commented Jan 29, 2015

Hey Nathanael,

awesome! One and last thing: can you add a note in the Readme?

Thanks for your work!

Added a paragraph describing the DoctrineWriter's association
handling capabilities
Baachi added a commit that referenced this pull request Mar 7, 2015
Modify DoctrineWriter adding capability to persist entities with relatio...
@Baachi Baachi merged commit 3cc324d into ddeboer:master Mar 7, 2015
@Baachi
Copy link
Collaborator

Baachi commented Mar 7, 2015

Cool thing ✨
Thank you for your awesome work!

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