-
-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
Milestone
Description
Hi!
I've written the following code which I find to be very readable:
[HttpGet("dosinglanes")]
public async Task<ActionResult<IReadOnlyCollection<GetProductListResponseModel>>> GetProductsOnDosingLanes()
{
await Task.CompletedTask;
return Ok();
}
However, csharpier
turns this into the following:
[HttpGet("dosinglanes")]
public async Task<
ActionResult<IReadOnlyCollection<GetProductListResponseModel[]>>
> GetProductsOnDosingLanes()
{
await Task.CompletedTask;
return Ok();
}
Which I find to be very unreadable. The > GetProductsOnDosingLanes()
is a very.. unique way of formatting this code.
I would like Csharpier to keep the code as is. What are your thoughts on this?
I could simply add a // csharpier-ignore
, but I don't think this code should be formatted :)
vlflorian and krtek2k