neos / contentrepository-development-collection

Work in Progress on the Event Sourced Content Repository as installable set of packages
4 stars 9 forks source link

Allow usage without postgreSQL #219

Open bwaidelich opened 2 years ago

bwaidelich commented 2 years ago

Currently the ESCR cannot be used without PostgreSQL (even if it is just setup and not actually used).

With a Settings.yaml of

Neos:
  EventSourcing:
    EventStore:
      stores:
        'ContentRepository':
          listeners:
            'Neos\ContentGraph\PostgreSQLAdapter\.*': false

we can turn off the listener, but that leads to an exception of

The Event Listener "Neos\ContentGraph\PostgreSQLAdapter\Domain\Projection\HypergraphProjector" is not registered to any of the configured Event Stores.

Removing the class locally leads to other errors, for example because we currently have a hard dependency on the HypergraphProjector in the \Neos\ContentRepository\BehavioralTests\Command\ContentStreamCommandController constructor