jkone27 / jkone27/fsharp-integration-tests

Idea: discover typed api client registrations and provide them as holes in the CEs

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
F#
Stars
46
Forks
2
PR merge metrics
No merged PRs in 30d

Description

it could be interesting to provide typed api registration when typed api clients are provided server side, e.g.

```fsharp

let webAppFactory =
new TestClient()
|> fun x -> x {
API {
// typechecks on return type from api client methods
_.GetName {| Name = "Peter" |}
_.GetAge {| Age = 100 |}
}
}
|> _.GetFactory()

```

or some alternative form

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.