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

Extra newline before collection expression in attributes #1160

Closed
Rudomitori opened this issue Jan 30, 2024 · 0 comments
Closed

Extra newline before collection expression in attributes #1160

Rudomitori opened this issue Jan 30, 2024 · 0 comments
Milestone

Comments

@Rudomitori
Copy link
Contributor

Input:

[AllowedExtensions(
    [
        ".txt",
        ".pdf",
        ".doc",
        ".jpeg",
        ".jpg",
        ".zip",
        ".7z",
        ".png",
        ".xlsx",
        ".xlx",
        ".docx",
        ".csv"
    ]
)]
async Task<FormResultDto> PatchResults(){}

Output:

[AllowedExtensions(

    [
        ".txt",
        ".pdf",
        ".doc",
        ".jpeg",
        ".jpg",
        ".zip",
        ".7z",
        ".png",
        ".xlsx",
        ".xlx",
        ".docx",
        ".csv"
    ]
)]
async Task<FormResultDto> PatchResults() { }

Expected behavior:

[AllowedExtensions(
    [
        ".txt",
        ".pdf",
        ".doc",
        ".jpeg",
        ".jpg",
        ".zip",
        ".7z",
        ".png",
        ".xlsx",
        ".xlx",
        ".docx",
        ".csv"
    ]
)]
async Task<FormResultDto> PatchResults(){}
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