|
|
|
|
|
by bpicolo
3353 days ago
|
|
I've been saddened by Marshmallow on many occasions (I have gripes with the particular way defaults/validation play together. This is true for WTForms too). I'm excited to try out Kim. I've been very close to just writing my own serialization lib on many occasions. It looks like your pipelines might bring a bit of sanity to it. :) It looks like you support a few sorts of validation, but the docs aren't super clear as to what the expected validation strategy is. Could you elaborate on what that looks like? My typical strategy I'd like to do is to just a list of functions that take the input and return a boolean as far as validation goes. |
|
It's great you asked this question as we noticed part of the documentation was actually broken. here's a link to a pretty basic example of adding extra validation "pipes" to a pipeline
http://kim.readthedocs.io/en/latest/user/advanced.html#custo...
We'd be more than happy to discuss how to solve more complex requirements if there's something specific you had in mind though.
Thanks for the message!