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

Vertical slice awesomeness #1197

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Vertical slice awesomeness #1197

merged 2 commits into from
Jan 7, 2025

Conversation

jeremydmiller
Copy link
Member

No description provided.

@jeremydmiller jeremydmiller marked this pull request as draft January 4, 2025 00:50
…and the [Entity] attribute

Closes GH-1073

Docs for the [Entity] attribute usage.

Docs on the new storage action side effect return values

Docs for using an enumerable of IMartenOp

Can now use IEnumerable<IMartenOp> as a return type

New UnitOfWork<T> side effect type

More tests on using IStorageAction within a tuple

Tests on EF Core + HTTP + [Edit]

Working functionality for [Entity] plus HTTP

Basic usage of [Entity] and IStorageAction w/ HTTP endpoints

Enforcing required on [Entity], enabling the usage of [Entity] for Before/Load methods

EntityAttribute has Required / Not Required semantics for message handlers

Exploded the little types into their own files, added Xml API comments

Storage action return values are working with EF Core!

Boom! Can use [Edit] and IStorageAction types with RavenDb

Storage action compliance tests are all green for Marten!

Built new compliance test for the storage action usage for different persistence mechanisms

Can handle nulls with the storage action returns

Happy path tests using InMemorySagaPersistor for all storage actions

First working version of the new [Entity] attribute against the in memory saga persistor

Spiked in the HttpChain.TryFindVariable implementation, partial though

New IChain member for finding value variable, implemented on HandlerChain

Quite a bit of preliminary work on the new Storage / IStorageAction model
@jeremydmiller jeremydmiller force-pushed the vertical-slice-awesomeness branch from ec8677e to 987119d Compare January 7, 2025 17:53
@jeremydmiller jeremydmiller marked this pull request as ready for review January 7, 2025 17:53
@@ -95,6 +95,9 @@ Using the `IntegrateWithWolverine()` extension method behind your call to `AddMa
* Makes Marten the active [saga storage](/guide/durability/sagas) for Wolverine
* Adds transactional middleware using Marten to your Wolverine application

## Entity Attribute Loading

The EF Core integration is able to completely support the [Entity attribute usage](/guide/handlers/persistence.html#automatically-loading-entities-to-method-parameters).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably meant to say marten here and not EF core

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meh, I swear I was trying to be careful even with all the copy / paste. Thanks for catching that!

@jeremydmiller jeremydmiller merged commit c98bd10 into main Jan 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants