Skip to content

JSON response handling incompatible with go-kit transport layer #5

@francescobianco

Description

@francescobianco

JSON response handling incompatible with go-kit transport layer

Description
SDK returns raw string instead of structured response, making integration with go-kit harder.

Code snippet

resp, err := apiClient.Request(ctx, "GET", baseURL, "/advance", nil, nil)

var data map[string]interface{}
json.Unmarshal([]byte(resp), &data)

Issue
Extra boilerplate required; expected []byte or structured response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions