symphony-bdk-java icon indicating copy to clipboard operation
symphony-bdk-java copied to clipboard

Make core starter objects accessible in the app starter

Open symphony-elias opened this issue 4 years ago • 2 comments

Feature Request

Description of Problem:

When creating an extension app project (maven or gradle) depending solely on symphony-bdk-app-spring-boot-starter, one cannot access beans declared in symphony-bdk-core-spring-boot-starter like @Slash. Reason is: symphony-bdk-app-spring-boot-starter depends on symphony-bdk-core-spring-boot-starter as a runtime dependency

Potential Solutions:

Make symphony-bdk-app-spring-boot-starter depends on symphony-bdk-core-spring-boot-starter as a compile dependency

symphony-elias avatar May 06 '21 08:05 symphony-elias

Are other third-party transitive dependencies being considered in this enhancement or just the bdk app spring starter to bdk core spring starter?

Some notable ones include:

  • bdk core spring starter to spring-boot-starter (so as to set a reference compatibility baseline)
  • bdk handlebars to handlebars (to access utils like safe string)

ystxn avatar May 06 '21 08:05 ystxn

Usually relying on Maven transitive dependencies is not considered a good practice :) But I agree it makes sense for starter like modules to ease developer experience

symphony-youri avatar May 06 '21 09:05 symphony-youri