Skip to content

Commit

Permalink
Updates to Aspire RC1 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
theyo authored Oct 30, 2024
1 parent 6c37d1c commit 709f1be
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Aspire.Hosting.AppHost" Version="8.2.1" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="9.0.0-rc.1.24511.1" />
<PackageVersion Include="Humanizer" Version="2.14.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0-rc.1.24452.1" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.0-rc.1.24431.7" />
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0-preview.8.24460.1" />
<PackageVersion Include="Microsoft.Extensions.ServiceDiscovery" Version="8.2.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0-rc.2.24474.3" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.0-rc.2.24473.5" />
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0-preview.9.24507.7" />
<PackageVersion Include="Microsoft.Extensions.ServiceDiscovery" Version="9.0.0-rc.1.24511.1" />
<PackageVersion Include="Octokit" Version="13.0.1" />
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.9.0" />
<PackageVersion Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions MercyFork.AppHost/MercyFork.AppHost.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0-rc.1.24511.1" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -16,6 +18,7 @@

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" />
<PackageReference Include="System.Text.Json" />
</ItemGroup>

</Project>
3 changes: 3 additions & 0 deletions MercyFork.Data/MercyForkOcktoKitExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ public static class MercyForkOcktoKitExtensions
//extension method to convert RepoSearchCriteria to SearchRepositoriesRequest
public static SearchRepositoriesRequest ToSearchRepositoriesRequest(this RepoSearchCriteria searchCriteria)
{
if (string.IsNullOrWhiteSpace(searchCriteria.SortDirection))
searchCriteria.SortDirection = "Descending";

return new SearchRepositoriesRequest(searchCriteria.SearchText)
{
Archived = searchCriteria.Archived,
Expand Down

0 comments on commit 709f1be

Please sign in to comment.