VichGeographicalBundle icon indicating copy to clipboard operation
VichGeographicalBundle copied to clipboard

Disable lookup?

Open ktwbc opened this issue 8 years ago • 0 comments

Is there any recommended way to disable lookup based on any sort of criteria? For example, when running unit tests I don't want the Google map lookup to fire (since it fails sometimes and I dont' want that to break testing), but there doesn't appear to be any way to make lookup conditional other than annotation in the Entity itself which can't be written to check something like SYMFONY_ENV.

Right now when I run tests, the Mock Data import is causing it to lookup as they're inserted which is causing test problems.

ktwbc avatar May 20 '16 14:05 ktwbc