ghandic/jsf

generate_and_validate method does not return any json object

Closed this issue · 2 comments

Hi @ghandic

generate_and_validate() method does not return any json object. If that is how it is meant to be, maybe I can rename it to "validate()" and generate a pull request.

Sure! Thanks for checking that, feel free to raise a PR and add some tests too, if you make one validate method that basically just proxies to the validate function and then also have validate as a boolean option on generate that could wool and iterate through the generated objects to validate them. Then generate_and_validate is no longer needed

Thanks for the update. I'll raise a pull request soon.