pounard / goat-query

Goat SQL query builder built over a PHP to SQL and SQL to PHP type converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get rid of infamous HydratorMap

pounard opened this issue · comments

Need to get rid of HydratorMap which has nothing to do here.

  • write a custom hydrator interface,
  • write generated-hydrator direct usage implementation,
  • write generated-hydrator-bundle direct usage implementation,
  • write a stupid runtime fallback,
  • inject it into runners.

Missing direct ocramius/generated-hydrator hydrator registry.

Create a default hydrator registry implementation that uses ocramius/generated-hydrator directly, and instanciate it per default whenever possible.

Create a default naive implementation that does runtime stuff, and instanciate it in last resort.