Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

fix: rename plans query param categories => categories[] #70

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

t0mk
Copy link
Contributor

@t0mk t0mk commented Jan 9, 2024

This PR changes name of plans listing param categories to categories[].

discovered by @ctreatma
#69 (comment)

related to #69

I wonder if we should this also for devices lookup. @ctreatma has this been fixed in metal-go?

@t0mk t0mk requested a review from ctreatma January 9, 2024 15:11
@t0mk t0mk changed the title fix: rename plans query param to categories[] fix: rename plans query param categories => categories[] Jan 9, 2024
@t0mk t0mk force-pushed the fix_plans_categories branch from 3d46026 to 5e8e150 Compare January 9, 2024 15:23
@t0mk t0mk force-pushed the fix_plans_categories branch from 0df9ec9 to 434cb21 Compare January 11, 2024 14:59
@t0mk t0mk force-pushed the fix_plans_categories branch from 434cb21 to 5e8e150 Compare January 11, 2024 15:02
@ctreatma
Copy link
Contributor

This hasn't been fixed in equinix-sdk-go; IIRC the category filters are fairly new and aren't supported in any of the Go tools yet. For Go, we'll likely wait for an official fix in the API spec before adding support for category filters.

@t0mk t0mk force-pushed the fix_plans_categories branch from 5e8e150 to 0c73613 Compare January 18, 2024 12:44
@t0mk t0mk merged commit 1334d64 into main Jan 18, 2024
3 checks passed
@t0mk t0mk deleted the fix_plans_categories branch January 18, 2024 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants