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..

Hi! We're currently writing a composer dependency to be used in multiple spryker shops. Is there a

UQ958DA4U
UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi!

We're currently writing a composer dependency to be used in multiple spryker shops. Is there a way we can use Spryks inside this decoupled dependency to make our lives a little easer? Thanks πŸ™‚

Comments

  • you mean, ship it with spryks included?

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    No, just as a dev dependency to ease development on the lib.

  • and you want to develop the module standalone, yet use spryks without the overehead of the spryker application?

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    exactly!

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    I've tried pulling in the spryks and console - but console is tightly coupled to spryker configs πŸ˜•

  • yes, i think that is not possible without embedding it into a bigger context

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    Too bad, but oh well!

  • Unknown
    edited February 2020

    how would you handle transfer object geeneration for example?

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hmm, that is a valid question.... I haven't thought about this yet - how are the Spryker internal packages generated?

  • Usually in the bigger context of a Spryker application

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    But how do you carve them out so you can just add them as a dependency to other shops?

  • Other shops meaning other e-commerce systems or other Spryker projects?

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    other Spryker projects.

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    Our idea was to mirror how the spryker/* and spryker-eco/* packages looked like in order to stay consistent and provide a mechanism to override the defaults within Pyz.