Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,21 @@
"isRoot": true,
"tools": {
"paket": {
"version": "8.0.3",
"version": "9.0.2",
"commands": [
"paket"
],
"rollForward": false
},
"fantomas": {
"version": "6.3.15",
"version": "7.0.3",
"commands": [
"fantomas"
],
"rollForward": false
},
"pkgchk-cli": {
"version": "0.2.388",
"commands": [
"pkgchk"
],
"rollForward": false
},
"dotnet-reportgenerator-globaltool": {
"version": "5.2.3",
"version": "5.4.16",
"commands": [
"reportgenerator"
],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-dotnet@v4

- name: pkgchk
uses: tonycknight/pkgchk-action@v1.0.16
uses: tonycknight/pkgchk-action@v1

build:
name: Build
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

[![Build & Release](https://github.com/tonycknight/microbroker.client/actions/workflows/build.yml/badge.svg)](https://github.com/tonycknight/microbroker.client/actions/workflows/build.yml)

[![Nuget](https://img.shields.io/nuget/v/pkgchk-cli)](https://www.nuget.org/packages/Microbroker.Client/)

A client library for [microbroker](https://github.com/tonycknight/microbroker)
4 changes: 1 addition & 3 deletions src/microbroker.client/DependencyInjection.fs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ module DependencyInjection =
sc.AddSingleton<MicrobrokerConfiguration>(config sp)

let addServices (sc: IServiceCollection) =
sc
.AddSingleton<IHttpClient, InternalHttpClient>()
.AddSingleton<IMicrobrokerProxy, MicrobrokerProxy>()
sc.AddSingleton<IHttpClient, InternalHttpClient>().AddSingleton<IMicrobrokerProxy, MicrobrokerProxy>()
3 changes: 1 addition & 2 deletions tests/microbroker.client.tests/TestUtils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ module internal TestUtils =
let httpClientPost (response: HttpRequestResponse) =
let http = Substitute.For<IHttpClient>()

(http.PostAsync (Arg.Any<string>()) (Arg.Any<string>()))
.Returns(Tasks.toTaskResult response)
(http.PostAsync (Arg.Any<string>()) (Arg.Any<string>())).Returns(Tasks.toTaskResult response)
|> ignore

http
Expand Down