omeka-s-modules / Collecting

GNU General Public License v3.0
2 stars 6 forks source link

Generate proxies? #9

Closed jimsafley closed 8 years ago

jimsafley commented 8 years ago

@zerocrates Some queries require that entity proxies are generated beforehand. Is there an established patter for modules do this?

zerocrates commented 8 years ago

You can provide an [entity_manager][proxy_paths][] entry in your module config giving a path to a directory that contains generated proxies.

There's no tool that will get you just your module's proxies yet, but you can do the regular proxy generation and move the files over.