Skip to content

Conversation

@Stianforren
Copy link
Contributor

updated post and comment endpoint and added likeEndpoint


var response = new ResponseDTO<PostsSuccessDTOVol2>
var response = await postRepository.GetByIdWithIncludes(p => p.Include(a => a.Author)
.Include(c => c.Comments).ThenInclude(c => c.User)
Copy link
Contributor

Choose a reason for hiding this comment

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

her you theninclude user, but not on the other ones.

Copy link
Contributor

@johanreitan johanreitan left a comment

Choose a reason for hiding this comment

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

okidoki -johan

@johanreitan johanreitan merged commit e93284a into temp_main Sep 22, 2025
1 check failed
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