Skip to content

Commit

Permalink
DEV: add json ignore for User property in SsoDto.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBuscarini committed Jun 5, 2024
1 parent 03468b4 commit 40e7018
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Build, Test, and Publish NuGet
uses: wahinekai/actions-publish-nuget@v3.0.1
with:
version: 1.1.0
version: 1.1.1
project-path: FoodService.Models/FoodService.Models.csproj
solution-path: FoodService.Models.sln
nuget-feed-password: ${{ secrets.PACKAGES_TOKEN }}
2 changes: 2 additions & 0 deletions FoodService.Models/Dto/SsoDto.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using FoodService.Models.Auth.User;
using System.Text.Json.Serialization;

namespace FoodService.Models.Dto
{
Expand All @@ -20,6 +21,7 @@ public class SsoDto
/// <summary>
/// Gets or sets the user information.
/// </summary>
[JsonIgnore]
public UserBase User { get; set; }

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion FoodService.Models/FoodService.Models.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<PackageId>FoodService.Models</PackageId>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
<Authors>FoodService</Authors>
<Company>FoodService</Company>
<PackageDescription>A library for models in FoodService project</PackageDescription>
Expand Down

0 comments on commit 40e7018

Please sign in to comment.