File tree 1 file changed +1
-14
lines changed
1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- ** Working** (CTRL-F5) Kestrel Hosted Blazor 5.x WASM Sample Project (with Identity) for gRPC with related (EF Core/SQLite) data.
4
4
5
- Many to many ` .Include ` results in a stack overflow, is this a reference loop?
6
-
7
- (part of) /Server/Services/[ BlogService.cs] ( https://github.com/JeepNL/BlazorWasmGrpcBlog/blob/master/BlazorWasmGrpcBlog/Server/Services/BlogService.cs )
8
-
9
- var posts = new Posts();
10
- var allPosts = await dbContext.Posts
11
- .Where(ps => ps.PostStat == PostStatus.Published)
12
- .Include(pa => pa.PostAuthor)
13
- .Include(pe => pe.PostExt)
14
- //.Include(tipd => tipd.TagsInPostData) // TODO: [ERROR] / doesn't work: results in a stack overflow.
15
- .OrderByDescending(dc => dc.DateCreated)
16
- .ToListAsync();
17
- posts.PostsData.AddRange(allPosts);
18
- return posts;
5
+ Many-to-Many working now, see: https://github.com/grpc/grpc-dotnet/issues/1177#issuecomment-763910215
19
6
20
7
Adding data to join table solved, see: https://github.com/dotnet/efcore/issues/23703#issuecomment-758801618
21
8
You can’t perform that action at this time.
0 commit comments