jabrena / spring-boot-user-beans

A visual way to increase the developer awareness to minimize the number of Beans in memory.
https://jabrena.github.io/spring-boot-user-beans/
Apache License 2.0
52 stars 3 forks source link

Return the right Data Structure from endpoint /actuator/userbeans/graph #133

Closed jabrena closed 1 year ago

jabrena commented 1 year ago

To evolve the endpoint /actuator/userbeans/graph gradually, it is necessary to return the right Data Type.

public record GraphData(List<BeanNode> nodes, List<Edge> edges) {}

Let`s do it