Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ugly result for long line with multiple generic types. #1539

Closed
kieronlanning opened this issue Mar 16, 2025 · 1 comment
Closed

Ugly result for long line with multiple generic types. #1539

kieronlanning opened this issue Mar 16, 2025 · 1 comment

Comments

@kieronlanning
Copy link

Note the trailing > on the output. I'm not sure if this is a bug, but it is very ugly (:

Input:

static async Task<Results<Ok<PaginatedResponse<QuestionnaireDisplayModel>>, ErroredProblem>> AllQuestionnairesAsync(
	[AsParameters] PaginationRequest<IQuestionnaireService> request,
	CancellationToken cancellationToken)

Output:

static async Task<
	Results<Ok<PaginatedResponse<QuestionnaireDisplayModel>>, ErroredProblem>
> AllQuestionnairesAsync(
	[AsParameters] PaginationRequest<IQuestionnaireService> request,
	CancellationToken cancellationToken
)

Expected behavior:
A variation on the above

@belav
Copy link
Owner

belav commented Mar 16, 2025

Closing as a duplicate. Haven't had a chance to figure out a better way to format generics yet.

@belav belav closed this as completed Mar 16, 2025
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

No branches or pull requests

2 participants