Skip to content

Implemented dtos for assetversion endpoints#1843

Merged
timbastin merged 4 commits intomainfrom
improve-endpoint-response-with-dto
Apr 2, 2026
Merged

Implemented dtos for assetversion endpoints#1843
timbastin merged 4 commits intomainfrom
improve-endpoint-response-with-dto

Conversation

@Dboy0ZDev
Copy link
Copy Markdown
Collaborator

@Dboy0ZDev Dboy0ZDev commented Apr 2, 2026

Added dtos tranformation before returning assetversion information from endpoint.

Issue:#1827

Copilot AI review requested due to automatic review settings April 2, 2026 14:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the asset version endpoints to return DTOs (via the transformer layer) instead of returning the raw models.AssetVersion objects directly.

Changes:

  • Read asset version endpoint now returns AssetVersionDTO.
  • Create asset version endpoint now returns AssetVersionDTO.
  • List asset versions endpoint now maps the returned models slice into []AssetVersionDTO.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@timbastin timbastin merged commit ed2e424 into main Apr 2, 2026
42 checks passed
@Dboy0ZDev Dboy0ZDev deleted the improve-endpoint-response-with-dto branch April 7, 2026 09:05
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.

3 participants