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
@Freyskeyd Freyskeyd marked this pull request as ready for review May 30, 2020
@Freyskeyd Freyskeyd added the enhancement label May 30, 2020
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch 4 times, most recently from 4383076 to b68875e Compare Jun 6, 2020
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch from b68875e to f4b3a74 Compare Jun 6, 2020
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
@Freyskeyd Freyskeyd force-pushed the creating_event_store_crate branch from f4b3a74 to 2fc152a Compare Jun 6, 2020
@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
Freyskeyd added 3 commits Jun 14, 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 Jun 14, 2020
@Freyskeyd Freyskeyd merged commit e82ecf0 into master Jun 14, 2020
8 of 9 checks passed
@Freyskeyd Freyskeyd deleted the creating_event_store_crate branch Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant