Skip to content

GetAssetsRequest.AssetClass should be type AssetClass (instead of string) #293

@gcatlin

Description

@gcatlin

There is already an AssetClass type, so it's just a matter of using it.

That is, change this:

type GetAssetsRequest struct {
	Status     string
	AssetClass string
	Exchange   string
}

To this:

type GetAssetsRequest struct {
	Status     string
	AssetClass AssetClass
	Exchange   string
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    v4Backward incompatible change that can added in the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions