Skip to content

Add blazor project#3

Open
fredrik-instech wants to merge 11 commits intomainfrom
feature/add-blazor-project
Open

Add blazor project#3
fredrik-instech wants to merge 11 commits intomainfrom
feature/add-blazor-project

Conversation

@fredrik-instech
Copy link

No description provided.

@fredrik-instech fredrik-instech requested a review from a team as a code owner December 11, 2025 16:28
Copy link
Contributor

@stignielsen-instech stignielsen-instech left a comment

Choose a reason for hiding this comment

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

The code comments are nit pick - but I think you need to extend the readme for this one based on your changes. A new paragraph explaining how you practically use this repository as a template (and also - we need to fix that when this code is merged). I created the explanation for this here: https://github.com/InsuranceTechnologySolutions/backend-coding-task?tab=readme-ov-file#read-this-first , you can probably reuse it as-is.

@@ -0,0 +1,7 @@
namespace AnchorageFiller.Clients.Responses;
Copy link
Contributor

Choose a reason for hiding this comment

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

You decide, but these are the DTOs used - and now you have 3 records in one class. They are lightweight, so that is ok'ish, but they could also each have their own file.

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, refactored into separate files now. And I was contemplating whether to move these models to a separate core/dto's project or not. But maybe it's best to leave that up to the candidate. (We can see if they decide to create their own models and mapping)


public record GetFleetResponse(Size AnchorageSize, IReadOnlyList<FleetItem> Fleets);

public record FleetItem(Size SingleShipDimensions, string ShipDesignation, int ShipCount);
Copy link
Contributor

@stignielsen-instech stignielsen-instech Dec 30, 2025

Choose a reason for hiding this comment

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

Dimension != Size - you use a new term for the same thing, SingleShipSize is cleaner imo.

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