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

[Bug]: @query format does not accept deepObject #4440

Open
4 tasks done
sagikazarmark opened this issue Sep 13, 2024 · 0 comments
Open
4 tasks done

[Bug]: @query format does not accept deepObject #4440

sagikazarmark opened this issue Sep 13, 2024 · 0 comments
Labels
design:needed A design request has been raised that needs a proposal lib:http triaged:core
Milestone

Comments

@sagikazarmark
Copy link

Describe the bug

According to this page in the documentation the format parameter of @query decorator is mapped to the style field of OpenAPI parameters.

However, according to this page deepObject is not a valid value (which kinda makes sense, since it's OpenAPI specific)

I coudln't find any other way to set style on an OpenAPI parameter.

Reproduction

model QueryParams {
    @query(#{format: "deepObject"})
    filter: Record<string>;
}

Checklist

@sagikazarmark sagikazarmark added the bug Something isn't working label Sep 13, 2024
@markcowl markcowl added feature New feature or request design:needed A design request has been raised that needs a proposal lib:http and removed bug Something isn't working feature New feature or request labels Sep 16, 2024
@markcowl markcowl added this to the Backlog milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design:needed A design request has been raised that needs a proposal lib:http triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants