Closed noirbizarre closed 9 years ago
Reopened to restart travis
Done.
BTW, I'm really interested in improving validation with more detailled feedback.
I can submit a pull-request but I just wan't to know what constraint do you have.
I explain myself: in the case of a multipolygon, it's possible to have multiple validation error but the current mecanism only allow one feedback message.
To do so, I need to transform validation['message']
into an array if it's OK.
If not, I will try to agregate messages into a single one
but I just wan't to know what constraint do you have.
I have no constraints with the validation format. Do whatever you think makes the most sense to you
To do so, I need to transform validation['message'] into an array if it's OK.
Sounds goods to me! I would just rename the key to 'messages'
and then just make sure it is always an array. I'll make sure to publish a new major version following that change.
In the meantime, thanks for your contribution!
Also, feel free to add yourself to the credits in the README for your daily dose of egotism
Thanks ! I will in the next coming pull-request ;)
Version 1.3.1 has been released which includes this fix. Thanks again!
This pull-request fix the multipolygon validation (and the associated test). Tha data used for testing were false.