laminas-api-tools / api-tools-admin-ui

Laminas API Tools Admin UI module
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

Required options for validators #15

Open weierophinney opened 4 years ago

weierophinney commented 4 years ago

Usage of admin ui to add validators is not really obvious. For instance, when adding ZF\Apigility\Doctrine\Server\Validator\NoObjectExists validator, it should be clearly stated that the entity_class option is mandatory. It took me 10 minutes to figure out. At end, I've just looked at my js debugger but... From my point of view, there should have two parts: Required options and optional options OR at least, an error message which is clear enough. Saying something like currently " Api communication problem" is not really clear for end-users.


Originally posted by @nuxwin at https://github.com/zfcampus/zf-apigility-admin-ui/issues/70

weierophinney commented 4 years ago

Ping @ezimuel and/or @jguittard — could one of you look into this, please?


Originally posted by @weierophinney at https://github.com/zfcampus/zf-apigility-admin-ui/issues/70#issuecomment-124217223