Skip to content

Decouple application layers #235

@lchrusciel

Description

@lchrusciel

Description 📄

The current implementation couples all three layers of the application: shop, API and admin. This is not ideal. We should allow turning on and off each of these layers

There should be possibility to install this plugin in shops that:

  • Have SyliusShopBundle disabled - then all API based tests and admin panel should work
  • Have SyliusApiBundle disabled - then all shop and admin based tests should work
  • Have SyliusAdminBundle disabled - then all shop and api based tests should work

This task requires decoupling the platform in a way that would allow for this selective usage. What is more, to preserve this new behaviour, we need to adjust our test suite to ensure the behaviour described above. Therefore new GHA jobs should appear that will test only a subset of functionalities.

Small wins 🏆

???

Tips 💡

We may consider decoupling only of Shop and API. That would be minimal possible solution for this plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions