Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize default behaviour for the event_store #1

Merged
merged 4 commits into from
Jun 14, 2020

Conversation

Freyskeyd
Copy link
Owner

@Freyskeyd Freyskeyd commented May 27, 2020

This PR aims to add some default behaviour to the framework. Currently only the EventStore part has been improved, I added Storage, Event and Stream concept which will be widely improve in the next PRs.

@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch 5 times, most recently from a46eea7 to df919d0 Compare May 29, 2020 22:40
@Freyskeyd Freyskeyd marked this pull request as ready for review May 30, 2020 10:29
@Freyskeyd Freyskeyd added the enhancement New feature or request label May 30, 2020
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch 4 times, most recently from 4383076 to b68875e Compare June 6, 2020 09:32
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch from b68875e to f4b3a74 Compare June 6, 2020 09:40
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch from f4b3a74 to 2fc152a Compare June 6, 2020 09:45
@Freyskeyd Freyskeyd changed the title Create Storage Trait and InMemoryBackend Initialize default behaviour for the event_store Jun 7, 2020
@Freyskeyd Freyskeyd changed the title Initialize default behaviour for the event_store Initialize default behaviour for the event_store Jun 7, 2020
This commit has two additions:
  - Added the `Storage` trait.
      which defines basic methods to interact with a backend.
      The 2 first methods are `create_stream` and `delete_stream`.
  - Added the `InMemoryBackend`.
      The `Storage` trait has been succinctly implemented on it.
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch from 2fc152a to ab501cc Compare June 14, 2020 09:32
@Freyskeyd Freyskeyd merged commit e82ecf0 into master Jun 14, 2020
@Freyskeyd Freyskeyd deleted the creating_event_store_crate branch June 14, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant