Skip to content

Align schema handling with prooph event store #5

@codeliner

Description

@codeliner

The document store performs a mb_strtolower when extracting the schema, see here: https://github.com/event-engine/php-postgres-document-store/blob/master/src/PostgresDocumentStore.php#L774

Prooph's event store uses the schema as-is. That said, when using the MultiModelStore this can lead to problems and confusion.

We need to address the issue.

Options

  1. Remove mb_strtolower (breaking change, but it's relatively new behavior, so maybe not a big deal)
  2. Modify ProophEventStore wrapper and perform a mb_strtolower before passing the schema name to prooph's event store

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