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

i don't understand why empty schema files are considered as exception case (Spryker\Zed\Transfer\Bus

U03CVST88DT
U03CVST88DT Posts: 16 🧑🏻‍🚀 - Cadet

i don't understand why empty schema files are considered as exception case (Spryker\Zed\Transfer\Business\Exception\EmptyEntityTransferDefinitionException). why not just ignore them?

Comments

  • Ahmed Sabaa
    Ahmed Sabaa Senior Application Architect @Spryker Posts: 54 🧑🏻‍🚀 - Cadet

    I am not sure, personally, but I would assume as a reminder if you forgot something, an empty schema file could be confusing that a developer would think that they added something when they didn’t

  • U03CVST88DT
    U03CVST88DT Posts: 16 🧑🏻‍🚀 - Cadet

    they occur also when developer is switching between branches containing different schemas. and it is possible to have an empty schema file in the folder where they are generated