Skip to content

Commit

Permalink
attempt to fix doc publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Jul 24, 2024
1 parent 50877a8 commit 99ef0f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,6 @@ docs/.vitepress/cache
src/CommandLineRunner/Internal/*

.nuke/temp

# Local Netlify folder
.netlify
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"docs": "npm-run-all -s mdsnippets vitepress-dev",
"docs-build": "npm-run-all -s mdsnippets vitepress-build",
"deploy": "netlify deploy",
"deploy:prod": "netlify deploy --prod"
"deploy:prod": "netlify build && netlify deploy --prod"
},
"devDependencies": {
"@mermaid-js/mermaid-mindmap": "^9.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ public class EventProjection_follow_up_operations: DaemonContext
[Fact]
public async Task rebuild_with_follow_up_operations_should_work()
{
StoreOptions(x => x.Projections.Add<NestedEntityEventProjection>(ProjectionLifecycle.Inline,
asyncOptions => asyncOptions.EnableDocumentTrackingByIdentity = true));
StoreOptions(x =>
{
x.Projections.Add<NestedEntityEventProjection>(ProjectionLifecycle.Inline,
asyncOptions => asyncOptions.EnableDocumentTrackingByIdentity = true);
});

var nestedEntity = new NestedEntity("etc");

Expand All @@ -30,6 +33,7 @@ public async Task rebuild_with_follow_up_operations_should_work()
{
{ Guid.NewGuid(), nestedEntity }, { Guid.NewGuid(), nestedEntity }
}));

session.Events.Append(Guid.NewGuid(), new SomeOtherEntityWithNestedIdentifierPublished(guid));

await session.SaveChangesAsync();
Expand Down

0 comments on commit 99ef0f2

Please sign in to comment.