Skip to content

Commit 7c051ef

Browse files
authored
Merge pull request #2333 from Cratis:fix/changeset-consolidation
Fix/changeset-consolidation
2 parents 755ca05 + c9728c2 commit 7c051ef

File tree

42 files changed

+1398
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1398
-30
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record Address(string Street, string City);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record AnotherParentWithChildren(string Title, [ChildrenFrom<TestEvent>] IEnumerable<ChildProjection> Items);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ChildProjection(string Id, string Data);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record NestedChildProjection(string Id, [ChildrenFrom<TestEvent>] IEnumerable<ChildProjection> SubChildren);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ParentProjection(string Name);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ParentWithArrayChildren(string Name, [ChildrenFrom<TestEvent>] IEnumerable<ChildProjection> Children);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ParentWithChildren(string Name, [ChildrenFrom<TestEvent>] IEnumerable<ChildProjection> Children);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public class ParentWithChildrenProperty
7+
{
8+
public string Name { get; set; } = string.Empty;
9+
10+
[ChildrenFrom<TestEvent>]
11+
public IEnumerable<ChildProjection> Children { get; set; } = [];
12+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ParentWithListChildren(string Name, [ChildrenFrom<TestEvent>] List<ChildProjection> Children);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Cratis. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace Cratis.Chronicle.Projections.ModelBound.for_ModelBoundProjections;
5+
6+
public record ParentWithNestedChildren(string Name, [ChildrenFrom<TestEvent>] IEnumerable<NestedChildProjection> Children);

0 commit comments

Comments
 (0)