From 3f59f5fb81237a6432eec73a375f48b413053001 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 16 Mar 2024 16:18:13 +0100 Subject: [PATCH 1/2] push reminders --- src/Dto/DataSourceDto.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Dto/DataSourceDto.cs b/src/Dto/DataSourceDto.cs index 518e7ab..74705a1 100644 --- a/src/Dto/DataSourceDto.cs +++ b/src/Dto/DataSourceDto.cs @@ -12,9 +12,11 @@ public class DataSourceDto public float Precision { get; set; } - [JsonIgnore] + // [TODO] [Dave] Add a property to store the athletes and the activities so maybe adapt to have a tiny DTO + [JsonIgnore] public IEnumerable? Athletes { get; set; } + // [TODO] [Dave] Add a property to store the athletes and the activities so maybe adapt to have a tiny DTO [JsonIgnore] public IEnumerable? Activities { get; set; } } \ No newline at end of file From 8083d8a379e08307d91aeaa98074650e61b03aab Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 16 Mar 2024 16:19:10 +0100 Subject: [PATCH 2/2] Actually Activity(-dataSources[nested]) work --- src/HeartTrackAPI/AppBootstrap.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/HeartTrackAPI/AppBootstrap.cs b/src/HeartTrackAPI/AppBootstrap.cs index 4fa5f7f..daa7193 100644 --- a/src/HeartTrackAPI/AppBootstrap.cs +++ b/src/HeartTrackAPI/AppBootstrap.cs @@ -14,7 +14,6 @@ using StubAPI; using StubbedContextLib; using Swashbuckle.AspNetCore.SwaggerGen; - namespace HeartTrackAPI; public class AppBootstrap(IConfiguration configuration)