Closed (fixed)
Project:
Dynamic Entity Reference
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Sep 2014 at 13:05 UTC
Updated:
26 Sep 2014 at 06:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirUsing this for default content, manual testing worked fine.
Comment #3
berdirArg, didn't think of this, we obviously don't want a hardcoded services dependency on rest.module, but we do need to pass those along for our parent class.
I guess we need a DynamicEntityReferenceServiceProvider for this, with a module check on rest.module?
/me no likes service-based discovery, this wouldn't be a problem with plugins...
Comment #4
dawehnerThere is a class in symfony called ResolveInvalidReferencesPass though this would not ignore the main class. I could imagine it to be helpful do have something like module_dependencies or even
a compiler pass which removes entries in the case their dependencies doesn't exist.
Comment #5
berdirTested that this didn't blow up, didn't test yet if it actually works ;)
Comment #6
larowlan