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

[Epic:.NET] csharp-ast: support annotation for methods and parameters #8471

Closed
Tracked by #8336
abrl91 opened this issue May 13, 2024 · 0 comments
Closed
Tracked by #8336

[Epic:.NET] csharp-ast: support annotation for methods and parameters #8471

abrl91 opened this issue May 13, 2024 · 0 comments
Assignees

Comments

@abrl91
Copy link
Member

abrl91 commented May 13, 2024

For example:

    [HttpGet]
    [Authorize(Roles = "admin,user")]
    public async Task<ActionResult<IEnumerable<TodoItemDto>>> TodoItems(
        [FromQuery] TodoItemFindMany findManyDto
    )
    {
        return Ok(await _service.TodoItems(findManyDto));
    }

[HttpGet] and [Authorize(Roles = "admin,user")] on the method level and [FromQuery] on the parameter level

@abrl91 abrl91 mentioned this issue May 13, 2024
78 tasks
@abrl91 abrl91 self-assigned this May 16, 2024
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

1 participant