We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
The Tags API added version as an allowed value for the `order_by_ parameter in GitLab 15.4, but it is not listed as an allowed value in this package.
version
TS2322: Type "version" is not assignable to type "name" | "updated"
https://docs.gitlab.com/ee/api/tags.html
History version value for the order_by attribute introduced in GitLab 15.4.
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95150
Steps to reproduce
import { Gitlab, } from '@gitbeaker/core'; const gitlab = new Gitlab({ host: 'example.com', }); const tags = gitlab.Tags.all( 'example/project-id', { orderBy: 'version', }, );
Expected behaviour
The orderBy option should allow version.
orderBy
Actual behaviour
The orderBy option does not allow version.
Possible fixes
Add version to the allowed values, which I think (not 100% sure, though) would be done here: https://github.com/jdalrymple/gitbeaker/blob/main/packages/core/src/resources/Tags.ts#L45
Checklist
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The Tags API added
version
as an allowed value for the `order_by_ parameter in GitLab 15.4, but it is not listed as an allowed value in this package.https://docs.gitlab.com/ee/api/tags.html
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95150
Steps to reproduce
Expected behaviour
The
orderBy
option should allowversion
.Actual behaviour
The
orderBy
option does not allowversion
.Possible fixes
Add
version
to the allowed values, which I think (not 100% sure, though) would be done here: https://github.com/jdalrymple/gitbeaker/blob/main/packages/core/src/resources/Tags.ts#L45Checklist
The text was updated successfully, but these errors were encountered: