Skip to content

Add cross OM references support - #192

Open
alemorozov wants to merge 1 commit into
stof:mainfrom
tutitututu:cross-om-references
Open

Add cross OM references support#192
alemorozov wants to merge 1 commit into
stof:mainfrom
tutitututu:cross-om-references

Conversation

@alemorozov

Copy link
Copy Markdown

Support for this was added to DoctrineExtensions in https://github.com/l3pp4rd/DoctrineExtensions/pull/625

Conflicts:
	DependencyInjection/Configuration.php
	DependencyInjection/StofDoctrineExtensionsExtension.php
	Resources/config/listeners.xml
@stof

stof commented Apr 27, 2013

Copy link
Copy Markdown
Owner

When the extension was contributed, I commented saying it should receive ManagerRegistry instances instead of managers. @jwage said he would work on it: doctrine-extensions/DoctrineExtensions#625
I think it would be better to refactor it this way first as it would not require changing the listener anymore in the bundle

@soerenmartius

Copy link
Copy Markdown

+1 for that

@azr

azr commented Jul 16, 2013

Copy link
Copy Markdown

+1 bump !

@andreasschmidt

Copy link
Copy Markdown

+1 :)

@solocommand

Copy link
Copy Markdown

+1

2 similar comments
@dovys

dovys commented Dec 17, 2013

Copy link
Copy Markdown

+1

@bmeynell

Copy link
Copy Markdown

👍

@webdevilopers

Copy link
Copy Markdown

@dbojdo

dbojdo commented May 18, 2015

Copy link
Copy Markdown

Hi! I see, this feature got stuck. I need it very much (different managers), so I'm going to re-factor it. I'll also provide the XML and YAML mapping drivers.

@diimpp

diimpp commented May 18, 2015

Copy link
Copy Markdown

Good luck @dbojdo
You might already saw this relevant thread doctrine-extensions/DoctrineExtensions#821

It was already implemented in
doctrine-extensions/DoctrineExtensions@668ea01
and
doctrine-extensions/DoctrineExtensions@0d6a4c8
but this is from WIP doctrine extensions 3.0 mega branch, which wasn't merged for several years already.

@dbojdo

dbojdo commented May 18, 2015

Copy link
Copy Markdown

@diimpp thanks :/ Yeah. I've seen that, we can wait for the merging forever. Btw, why did you inject only one ManagerRegistry? As I know, DoctrineBundle and DoctrineMongodbBundle provide a independent ManagerRegistry. So you can't find the Manager for MongoDb Document in the Entity one.

See: dbojdo/DoctrineExtensions@54b19d5

Anyway, I need this feature very much. If nothing change, I'll just create my own Extension based on this one.

@diimpp

diimpp commented May 18, 2015

Copy link
Copy Markdown

No credits for me, I'm just posting links :) For same reason I don't know reasoning behind implementation.

@dbojdo

dbojdo commented May 18, 2015

Copy link
Copy Markdown

@diimpp oh, sorry, I haven't noted :) Thanks anyway.

@chandon

chandon commented Jun 8, 2015

Copy link
Copy Markdown

@dbojdo did u re-factor it ?

@dbojdo

dbojdo commented Jun 8, 2015

Copy link
Copy Markdown

@chandon Hi! Yes, it's working fine see: doctrine-extensions/DoctrineExtensions#1320
I don't know, where they will merge it (if ever?) but you can use https://github.com/DXI-Ltd/doctrine-extension and https://github.com/DXI-Ltd/doctrine-extension-bundle as long is stuck (there is ported Reference extension)

@chandon

chandon commented Jun 9, 2015

Copy link
Copy Markdown

@dbojdo thanks, i installed it from your DXI bundle, it's working well !

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.