Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit d53e11c

Browse files
Merge pull request #46 from thefringeninja/fix-to-string
Correctly logging the index resource
2 parents 91d79c8 + d29517a commit d53e11c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/SqlStreamStore.HAL/Index/IndexResource.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namespace SqlStreamStore.HAL.Index
44
using System.Reflection;
55
using Halcyon.HAL;
66
using Microsoft.AspNetCore.Http;
7+
using Newtonsoft.Json;
78
using Newtonsoft.Json.Linq;
89

910
internal class IndexResource : IResource
@@ -44,5 +45,7 @@ private static string GetVersion(Type type)
4445
.Find()
4546
.Browse()
4647
.Add(Constants.Relations.Feed, Constants.Streams.All)));
48+
49+
public override string ToString() => _data.ToString(Formatting.None);
4750
}
4851
}

0 commit comments

Comments
 (0)