Skip to content

Missing calls Java Spring Boot repositories #183

@pfrollo

Description

@pfrollo

Describe the bug

When a method calls a save() method of a repository that implements the CrudRepository interface, then the diagram only shows the call to the CrudRepository interface.
The fact that the repository is involved in the call is hidden.

This is a major flaw. We need to know what repositories are in the flow. It does not help us to see calls to the interface the repositories implement.

To Reproduce

  • Create a component class that autowires a repository that implements CrudRepository
  • Add a method that calls the save method from the repository
  • Display the sequence diagram
  • Notice that the repository is missing in the diagram

Expected behavior

  • Repositories should be rendered and while Display only project classes option is OFF. Having it ON pollutes diagrams.

Screenshots
Screenshot 2024-12-12 at 11 53 01 AM

Plugin & IDE info:

  • Plugin Version [e.g. 2.2.0] 4.0.3
  • IDE Name & Version [e.g. IDEA Comunity 2022.2] IntelliJ IDEA 2024.3.1 RC (Ultimate Edition)
  • Which language (e.g: Java, Kotlin, Scala, Groovy) you try to generate? Java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions