Skip to content

Commit

Permalink
Move EntityFrameworkCore to a separate NuGet package (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusz-schimke authored Apr 11, 2024
2 parents 00d0360 + dfda0d2 commit 4145cdc
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 77 deletions.
1 change: 0 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<ItemGroup>
<PackageVersion Include="HotChocolate" Version="13.9.0" />
<PackageVersion Include="HotChocolate.Data" Version="13.9.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
<PackageVersion Include="NSwag.Generation.AspNetCore" Version="14.0.7" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="xunit" Version="2.7.0" />
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ builder.Services.ConfigureHttpJsonOptions(



## EntityFrameworkCore

To use `SensitiveString` and `SensitiveEmail` in database entities, install a dedicated [NuGet package](https://www.nuget.org/packages/SensitiveString.EntityFrameworkCore/).



## Disclaimer

This is a proof of concept. If you find any issues using the package or have any thoughts on it, your comments reported as issues are more than welcome!
Expand Down
7 changes: 0 additions & 7 deletions SensitiveString.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextPrivacy.SensitiveString", "src\TextPrivacy.SensitiveString\TextPrivacy.SensitiveString.csproj", "{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextPrivacy.SensitiveString.EntityFrameworkCore", "src\TextPrivacy.SensitiveString.EntityFrameworkCore\TextPrivacy.SensitiveString.EntityFrameworkCore.csproj", "{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextPrivacy.SensitiveString.HotChocolate", "src\TextPrivacy.SensitiveString.HotChocolate\TextPrivacy.SensitiveString.HotChocolate.csproj", "{EA5EA98A-75F8-422F-8858-F9857075584E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextPrivacy.SensitiveString.Swagger", "src\TextPrivacy.SensitiveString.Swagger\TextPrivacy.SensitiveString.Swagger.csproj", "{C3B8ED7F-E680-4364-B9AE-C12019E782E3}"
Expand All @@ -26,10 +24,6 @@ Global
{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}.Release|Any CPU.Build.0 = Release|Any CPU
{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}.Release|Any CPU.Build.0 = Release|Any CPU
{EA5EA98A-75F8-422F-8858-F9857075584E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA5EA98A-75F8-422F-8858-F9857075584E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA5EA98A-75F8-422F-8858-F9857075584E}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -49,7 +43,6 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BFACD806-7D36-4ED7-8FE1-E7457299A6E3} = {21EB174C-CED8-40DB-AD4E-E3BF9D9D3EC7}
{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8} = {21EB174C-CED8-40DB-AD4E-E3BF9D9D3EC7}
{EA5EA98A-75F8-422F-8858-F9857075584E} = {21EB174C-CED8-40DB-AD4E-E3BF9D9D3EC7}
{C3B8ED7F-E680-4364-B9AE-C12019E782E3} = {21EB174C-CED8-40DB-AD4E-E3BF9D9D3EC7}
{C0B98D42-F2BB-4D5D-A2C2-EA137D9FBF3F} = {654EFDB6-8ECD-42CB-A3D6-F7DE361A692B}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<PackageReleaseNotes>This initial package release is presented as a proof of concept. All comments and suggestions are warmly welcomed and encouraged to be reported as issues on GitHub. Your input is highly valued to help refine and improve this offering.

See also https://github.com/$(Repository)/releases</PackageReleaseNotes>
See also https://github.com/$(Repository)/releases</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Publish'">
Expand All @@ -72,4 +72,4 @@
<None Include="../../README.md" Pack="true" Visible="false" PackagePath="/" />
</ItemGroup>

</Project>
</Project>

0 comments on commit 4145cdc

Please sign in to comment.