Skip to content

TRIAGE: Support string and obj when return type is not known but client has to deserialize as T (?) #28

@jkone27

Description

@jkone27

seems string or obj is not supported if the api client requires to deserialize as T, so maybe there should be some fallback strategy for it?

[<CLIMutable>]
type SomeType = { Test : string }

test_ce {
    GETJ "/some/client/expecting/some-type" """{ "Test" : "hello" }"""
}

maybe this overload should work for GETJ_STR ?

GETJ_STR "/some/client/expecting/some-type" """{ "Test" : "hello" }""" // same as |> R_OK "application/json"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions