βœ… κΈ°λŠ₯ κ°œμš”


πŸ”§ 기술 μŠ€νƒ


πŸ“Œ κ΅¬ν˜„ λͺ©μ 


🧩 μ£Όμš” 클래슀 및 λ©”μ„œλ“œ

1. μ„œλΉ„μŠ€ 계측

@Transactional(readOnly = true)
public List<PostResponseDto> getAllPosts(Pageable pageable) {
    Page<PostListPageDto> postList = postRepository.getPostList(pageable);
    return postList.stream().map(post -> new PostResponseDto(post)).toList();
}