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

Add search[wildcard-name] to WorkspaceListOptions #569

Merged
merged 1 commit into from Nov 2, 2022

Conversation

laurenolivia
Copy link
Contributor

@laurenolivia laurenolivia commented Oct 27, 2022

Description

This PR exposes the new optional query param search[wildcard-name]. See List Workspaces docs.

Testing plan

N/A

External links

Output from tests

Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.

$ TFE_ADDRESS="https://example" TFE_TOKEN="example" TF_ACC="1" go test ./... -v -tags=integration -run TestFunctionsAffectedByChange

...

@laurenolivia laurenolivia requested a review from a team as a code owner October 27, 2022 17:02
@laurenolivia laurenolivia force-pushed the laurenolivia/update-workspace-list-options branch from 706731d to 3e69e1d Compare October 31, 2022 20:28
workspace.go Outdated Show resolved Hide resolved
@annawinkler
Copy link
Contributor

@laurenolivia This looks good! 🥇 Do you want to update the changelog in this PR too?

@laurenolivia
Copy link
Contributor Author

Yep, will do! Looks like a couple tests failed, but they pass locally. Will look into that, and also update the changelog. Thanks.

@laurenolivia laurenolivia changed the title expose search param option to filter using wildcard Add search[wildcard-name] to WorkspaceListOptions Nov 1, 2022
@laurenolivia laurenolivia force-pushed the laurenolivia/update-workspace-list-options branch from f3191aa to 641d87f Compare November 2, 2022 15:52
CHANGELOG.md Outdated Show resolved Hide resolved
@laurenolivia laurenolivia force-pushed the laurenolivia/update-workspace-list-options branch from 641d87f to 4c23de2 Compare November 2, 2022 16:01
Copy link
Collaborator

@brandonc brandonc left a comment

Choose a reason for hiding this comment

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

Will need to rebase #578 if this is merged before release is cut @annawinkler

@laurenolivia laurenolivia merged commit 40ddff2 into main Nov 2, 2022
@laurenolivia laurenolivia deleted the laurenolivia/update-workspace-list-options branch November 2, 2022 16:25
@github-actions
Copy link

github-actions bot commented Nov 2, 2022

Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes.

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.

None yet

3 participants