alejandro-du / vaadin-microservices-demo

A microservices example developed with Spring Cloud and Vaadin
126 stars 63 forks source link

Delete in CrudView does not work. #4

Closed unixhelden closed 5 years ago

unixhelden commented 5 years ago

Hi alejandro. In biz-application you have named your ID Variable as "id", it should be "Id" else it won't get translated into the output Json. Hence crudview does not delete anything because it doesn't know about the ID.

https://stackoverflow.com/questions/30912826/expose-all-ids-when-using-spring-data-rest/38938767#38938767

alejandro-du commented 5 years ago

It actually works thanks to this: https://github.com/alejandro-du/vaadin-microservices-demo/blob/master/biz-application/src/main/java/com/example/biz/BizApplication.java#L21