You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make this a maven project using vertx 4 Milestone 4 and modified the entity a bit. I didn't use codegen to generate the converter, instead i used Json.mapTo() to convert the resultset to list of entity. Other than these changes, the getAll() method is all the same as yours.
However, the endpoint is returning raw json, instead of list of entities. The map(Todo::new) is happening, but is not being returned.
I appreciate if you can guide me to some direction to resolve this.
I was trying to make this a maven project using vertx 4 Milestone 4 and modified the entity a bit. I didn't use codegen to generate the converter, instead i used Json.mapTo() to convert the resultset to list of entity. Other than these changes, the getAll() method is all the same as yours.
However, the endpoint is returning raw json, instead of list of entities. The map(Todo::new) is happening, but is not being returned.
I appreciate if you can guide me to some direction to resolve this.
edit: adding the entity
`
public class Task {
//getters and setters
}
`
The text was updated successfully, but these errors were encountered: