What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

why does spryker/publisher-extension require spryker/event only as a dev requirement when PublisherP

U01G4K5E0J2
U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

why does spryker/publisher-extension require spryker/event only as a dev requirement when PublisherPluginInterface clearly extends EventBulkHandlerInterface?

Comments

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 πŸ§‘πŸ»β€πŸš€ - Cadet

    I think it’s a dev req because you might not be using that particular interface from the module, but might want to still use others.

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    dude, what?

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    this whole package is 2 interfaces

  • I think you discovered a dependency loop here. Publisher has a dependency to PublisherExtension to provide common interfaces for extensibility. The dependency from PublisherExtension back to Publisher is probably for BC reasons but seems to create a cyclic dependency.

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UK5EG6PBM there is no dependency loop. publisher-extension has definitions of two interfaces, which extend interfaces from event and event-behavior, but doesn't include those packages in its own dependencies

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    I guess this isnt an issue, since developing a spryker project clearly starts from just copying and pasting suite's composer json which includes every spryker package that was ever released (probably)

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    and noone (except me) will ever install publisher-extension on its own