Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection Filters #84

Open
stood opened this issue May 30, 2018 · 1 comment
Open

Collection Filters #84

stood opened this issue May 30, 2018 · 1 comment

Comments

@stood
Copy link
Member

stood commented May 30, 2018

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants