Skip to content

Spring Modulith verifications broken #1127

Closed

Description

@odrotbohm

If you import Spring RESTBucks into VSCode the Spring Modulith verification rejects code in OrderInitializer looking as follows:

Screenshot 2023-10-19 at 23 07 35

All types are marked with the message “Type not exposed by core module” despite the types not residing in the core module.

Activity

  1. BoykoAlex commented on Oct 19, 2023

    @BoykoAlex
    Contributor

    I have attempted not to resolve anything while reconciling but it looks like i just broke everything for the case Modulith. Hopefully, I have corrected most of the things with 58635fd

    Currently, I only see one issue: org.springsource.restbucks.order.web.LocationAndDrinks is considered to be from order module... I suppose that the only case when LocationAndDrinks would belong to order module is if the package was org.springsource.restbucks.order.internal rather than org.springsource.restbucks.order.web. Is this correct? Thus internal is a special case where i can assume that parent package is the module, right?

    What about org.springsource.restbucks.order.internal.a.b.c.d.e.f? Would this laso be considered to be under org.springsource.restbucks.order base package?

  2. self-assigned this
    on Oct 20, 2023
  3. added this to the 4.20.1.RELEASE milestone on Oct 20, 2023
  4. added
    for: eclipse
    for: vscode
    and removed on Oct 20, 2023
  5. BoykoAlex commented on Oct 20, 2023

    @BoykoAlex
    Contributor

    With additional fix of the error message: 68985b8 looks like this is fixed.

  6. odrotbohm commented on Oct 20, 2023

    @odrotbohm
    MemberAuthor

    Thanks for the quick turnaround! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodestatus: needs-investigationtype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions