Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

[WIP] Implemented DependentMappingDriver #105

Closed
wants to merge 2 commits into from

Conversation

fprochazka
Copy link
Contributor

I don't like much how the driver paths has to be configured. I think it would be great, if you could connect the search metadata driver with the orm/odm metadata driver and reuse the getAllClassNames list from parent ObjectManager.

It's just an idea (I haven't yet tried to execute the code), what do you think?

@fprochazka fprochazka changed the title Implemented DependentMappingDriver [WIP] Implemented DependentMappingDriver Sep 11, 2014
@MrHash
Copy link
Contributor

MrHash commented Sep 11, 2014

I think anything done to improve the annotation and metadata drivers is useful but without some tests it's a bit risky!

@fprochazka
Copy link
Contributor Author

Agreed, I will work on the tests then :)

@MrHash
Copy link
Contributor

MrHash commented Sep 11, 2014

Great! Feel free to use some of the demo entities for the purposes of test cases as the annotations there cover alot of the bases.

- added objectManager accessors instead of entityManager accessors
- entityManager accessors are marked as deprecated
@fprochazka
Copy link
Contributor Author

@MrHash I would like to know now what you think about this... should I invest more time and add tests? Or do you need more persuasion about this feature? :)

@MrHash
Copy link
Contributor

MrHash commented Sep 11, 2014

Well i think this is a lower priority because it doesn't impact the core feature set, although it is useful. I think the most important major task at the moment is #85 because is opens the possibility for different implementations. Basically the client libararies need another level of abstraction out from the unit of work. Would that be of interest? However this might be a fair amount of work...

@fprochazka
Copy link
Contributor Author

I would be interested in making work elasticsearch with elastica, when we have that then we can think about other clients.

@MrHash
Copy link
Contributor

MrHash commented Sep 11, 2014

That would be great also. I will assign the task to you. thanks

@fprochazka
Copy link
Contributor Author

@MrHash Sure :)

@MrHash
Copy link
Contributor

MrHash commented Dec 29, 2014

Hi i see you have been developing more. Is this pull request still active? i have a yaml mapping feature merged into the develop branch and there may be conflicts.

@fprochazka
Copy link
Contributor Author

I'm sorry, but I don't think I'll have the time to finish this, since I'm not using doctrine search on my projects currently.

@fprochazka fprochazka closed this May 22, 2017
@fprochazka fprochazka deleted the patch-3 branch May 22, 2017 19:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants