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

feat: add getSteps API #22

Merged

Conversation

desaxce
Copy link
Collaborator

@desaxce desaxce commented May 13, 2024

Changes:

  • added the getSteps API
  • added an integration test which performs the steps below

To test:

  • create a step with tags
  • call getSteps to get the step which has the specified tags
  • ensure you get the right Step object

This change is Reviewable

Copy link

linear bot commented May 13, 2024

@desaxce desaxce requested a review from Granipouss May 13, 2024 11:28
{
field: 'tags',
operator: 'in',
value: ['to_score']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't testing without any 'ids' in the query, risky ?

As in, there can be an existing step with that tag from any other test run, and that would make that test fail.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will add a filter on the id here!

@desaxce desaxce requested a review from Granipouss May 13, 2024 13:11
Copy link
Contributor

@willydouhard willydouhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 3 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Granipouss)

@desaxce desaxce merged commit e3049d2 into main May 17, 2024
2 of 3 checks passed
@desaxce desaxce deleted the hugues/eng-1337-add-get_steps-on-sdks-with-filters-on-tags branch May 17, 2024 08:23
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

Successfully merging this pull request may close these issues.

3 participants