Skip to content
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
4 changes: 2 additions & 2 deletions Package.Build.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project>
<PropertyGroup>
<Version>2.2.1</Version>
<Version>2.3.0</Version>
<Authors>Hawxy</Authors>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Hawxy/Fga.Net</PackageProjectUrl>
<RepositoryUrl>https://github.com/Hawxy/Fga.Net</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Copyright>Hawxy 2022-2025</Copyright>
<Copyright>Hawxy 2022-2026</Copyright>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Fga.Net.AspNetCore/Fga.Net.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25" PrivateAssets="All" />
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.39" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Fga.Net/Fga.Net.DependencyInjection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25" PrivateAssets="All" />
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.39" PrivateAssets="All" />
<PackageReference Include="OpenFga.Sdk" Version="0.8.0" />
</ItemGroup>

Expand Down
7 changes: 4 additions & 3 deletions src/Fga.Net/FgaConfigurationBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.

using Fga.Net.DependencyInjection.Configuration;
using OpenFga.Sdk.Client;
using OpenFga.Sdk.Client.Model;
using OpenFga.Sdk.Configuration;

namespace Fga.Net.DependencyInjection;
Expand Down Expand Up @@ -49,15 +50,15 @@ public FgaConfigurationBuilder SetAuthorizationModelId(string authorizationModel

private int? _maxRetry;

/// <inheritdoc cref="ClientConfiguration.MaxRetry"/>
/// <inheritdoc cref="RetryParams.MaxRetry"/>
public FgaConfigurationBuilder SetMaxRetry(int maxRetry)
{
_maxRetry = maxRetry;
return this;
}

private int? _minWaitInMs;
/// <inheritdoc cref="ClientConfiguration.MinWaitInMs"/>
/// <inheritdoc cref="RetryParams.MinWaitInMs"/>
public FgaConfigurationBuilder SetWaitInMs(int waitInMs)
{
_minWaitInMs = waitInMs;
Expand All @@ -66,7 +67,7 @@ public FgaConfigurationBuilder SetWaitInMs(int waitInMs)

private TelemetryConfig? _telemetryConfig;

/// <inheritdoc cref="ClientConfiguration.Telemetry"/>
/// <inheritdoc cref="TelemetryConfig"/>
public FgaConfigurationBuilder SetTelemetry(TelemetryConfig config)
{
_telemetryConfig = config;
Expand Down
4 changes: 2 additions & 2 deletions tests/Fga.Net.Tests/Client/EndpointTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Fga.Net.Tests.Client;
public class EndpointTests(EndpointWebAppFixture fixture) : EndpointWebAppBase(fixture)
{
[Test]
private async Task GetEndpoints_OpenFgaApi_Return_200()
public async Task GetEndpoints_OpenFgaApi_Return_200()
{
using var scope = Host.Services.CreateScope();
var client = scope.ServiceProvider.GetRequiredService<OpenFgaApi>();
Expand All @@ -24,7 +24,7 @@ private async Task GetEndpoints_OpenFgaApi_Return_200()
}

[Test]
private async Task GetEndpoints_OpenFgaClient_Return_200()
public async Task GetEndpoints_OpenFgaClient_Return_200()
{
using var scope = Host.Services.CreateScope();
var client = scope.ServiceProvider.GetRequiredService<OpenFgaClient>();
Expand Down
10 changes: 5 additions & 5 deletions tests/Fga.Net.Tests/Fga.Net.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Alba" Version="8.1.1" />
<PackageReference Include="FluentAssertions" Version="8.2.0" />
<PackageReference Include="HttpContextMoq" Version="1.6.0" />
<PackageReference Include="Ulid" Version="1.3.4" />
<PackageReference Include="TUnit" Version="0.19.32" />
<PackageReference Include="Alba" Version="8.2.1" />
<PackageReference Include="FluentAssertions" Version="8.8.0" />
<PackageReference Include="HttpContextMoq" Version="1.7.0" />
<PackageReference Include="Ulid" Version="1.4.1" />
<PackageReference Include="TUnit" Version="0.78.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading