-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
[11.14] Group milestones API: able to call GitLab API with addtional parameters updated_before and updated_after #786
Conversation
Groups Milestones (Gitlab\Tests\Api\GroupsMilestones) ✔ Should get all milestones with parameter one iids value ✔ Should get all milestones with parameter two iids values ✔ Should get all milestones with parameter state with active ✔ Should get all milestones with parameter state with closed ✔ Should get all milestones with parameter search ✔ Should get all milestones with parameter updated before ✔ Should get all milestones with parameter updated after
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making a start here. There is just one change to be made.
src/Api/GroupsMilestones.php
Outdated
* @var string $search Return only milestones with a title or description matching the provided string | ||
* @var string $updated_before Return only milestones updated before the given datetime | ||
* Expected in ISO 8601 format (2019-03-15T08:00:00Z). Introduced in GitLab 15.10 | ||
* @var string $updated_after Return only milestones updated after the given datetime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take DateTimeInterface
here rather than a string, just like in Groups::issues
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, finally I have time to fix it - here
Use DateTimeInterface
is much better than string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GrahamCampbell the PR is ready to be reviewed in case you haven't received this notice before. Thanks for reviewing it.
…ed_before update unit tests
Thanks. |
List group milestones new parameters