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

Hello everybody, i have a question regarding the spryk tool. Following the guide

UPWG9AYH2
UPWG9AYH2 Posts: 509 🧑🏻‍🚀 - Cadet

Hello everybody,
i have a question regarding the spryk tool. Following the guide https://documentation.spryker.com/capabilities/development/development_tools/spryk-201903.htm there is the sprykGui available in backend. Choosing any of the spryk to generate code parts does not really work cause my project level modules are not listed. I can create one with the “AddModule” Spryk but for example in “Add Zed Business Model” it’s not available then. On console it works perfectly. I think the sprykGui is somehow in the “core” mode … the doc says “The organization option should be put into the namespaces config files (Core or Project).” I couldn’t find a concrete example … so, where to put this config exactly?
Best regards

Comments

  • yes, the spryk gui is laggng a bit behind the cli capabilities. also the ux needs a bit of overhaul.

  • i think it makes you more productive to go with cli for the moment.

  • however, i am greatly interested in you feedback!

  • also your usage scenario, expectations and suggestions! 🙂

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet

    I can see in the SprykGui config that it uses values defined in KernelConstants::PROJECT_NAMESPACES in environment config.

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet

    I have in my config/Shared/config_default.php

    $config[KernelConstants::PROJECT_NAMESPACES] = [
        'Pyz',
    ];
    

    I’ll check if I have Pyz modules showing up in zed in just a moment

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet

    No, they are not 😞

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 🧑🏻‍🚀 - Cadet

    Yep @UQKSAARKN, same here. I think the filter params are not set right for querying modules from project level. The filter params property is set, but almost empty. But no time to have a deeper look.
    @UJN2JRU4F I am also more confident with the CLI tool but the gui gives at least a nice overview, especially the dependency graph. Personally, it was just a try to get the “route not found” error fixed even if the gui was installed …