pomm-project / ModelManager

Model Manager for the Pomm database framework.
MIT License
66 stars 27 forks source link

Collection Filters #84

Open stood opened 6 years ago

stood commented 6 years ago

In the doc, it is writen to use the collection filters for to transform json value to an object instance.

But if I use the example: https://github.com/pomm-project/ModelManager/blob/2.0/documentation/model_manager.rst#collection-filters

I have an error `Warning: trim () expects parameter 1 to be string, object given```

Because the hydrationPlan using the converter Json but the value is an ObjectInstance

chanmix51 commented 6 years ago

Ok, a filter does not override a converter, the documentation is wrong. Thank you.