Skip to content

Commit 096f368

Browse files
committed
Cleanup project files and fix some build warnings
1 parent 6d57a88 commit 096f368

File tree

6 files changed

+11
-23
lines changed

6 files changed

+11
-23
lines changed

Postgrest/Attributes/ReferenceAttribute.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ public ReferenceAttribute(Type model, JoinType joinType, bool includeInQuery = t
9797
/// <param name="model">Model referenced</param>
9898
/// <param name="includeInQuery">Should referenced be included in queries?</param>
9999
/// <param name="useInnerJoin">As to whether the query will filter top-level rows.</param>
100-
/// <param name="propertyName">The Property Name on the C# Model</param>
101100
/// <param name="columnName">Column this attribute references as specified in Postgres, DOES NOT need to be set if <see cref="ForeignKey"/> is set.</param>
102101
/// <param name="foreignKey">Foreign Key this attribute references as specified in Postgres (only required if the model references the same table multiple times)</param>
103102
/// <exception cref="Exception"></exception>

Postgrest/Client.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public Client(string baseUrl, ClientOptions? options = null)
9595
GetHeaders = GetHeaders
9696
};
9797

98+
/// <inheritdoc />
9899
public IPostgrestTableWithCache<T> Table<T>(IPostgrestCacheProvider cacheProvider)
99100
where T : BaseModel, new() =>
100101
new TableWithCache<T>(BaseUrl, cacheProvider, SerializerSettings(Options), Options)

Postgrest/Hooks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public void ClearRequestPreparedHandlers()
7070
/// <summary>
7171
/// Notifies all listeners.
7272
/// </summary>
73+
/// <param name="sender"></param>
7374
/// <param name="clientOptions"></param>
7475
/// <param name="method"></param>
7576
/// <param name="url"></param>

Postgrest/Postgrest.csproj

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
43
<TargetFramework>netstandard2.0</TargetFramework>
@@ -36,25 +35,22 @@
3635

3736
<PropertyGroup Condition=" '$(Version)' == '' ">
3837
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">3.4.0</VersionPrefix>
39-
<VersionSuffix Condition=" '$(VersionSuffix)' == '' ">
40-
</VersionSuffix>
38+
<VersionSuffix Condition=" '$(VersionSuffix)' == '' "></VersionSuffix>
4139
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix)-$(VersionSuffix)</Version>
4240
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
4341
</PropertyGroup>
4442

4543
<ItemGroup>
46-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
44+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
4745
</ItemGroup>
4846

4947
<ItemGroup>
50-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
51-
<PackageReference Include="supabase-core" Version="0.0.3"/>
52-
<PackageReference Include="System.Linq.Expressions" Version="4.3.0"/>
48+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
49+
<PackageReference Include="supabase-core" Version="0.0.3" />
5350
</ItemGroup>
5451

5552
<ItemGroup>
56-
<Folder Include="Converters\"/>
57-
<None Include="..\.github\icon.png" Pack="true" Link="icon.png" PackagePath="\"/>
58-
<None Include="..\README.md" Pack="true" Link="README.md" PackagePath="\"/>
53+
<None Include="..\.github\icon.png" Pack="true" Link="icon.png" PackagePath="\" />
54+
<None Include="..\README.md" Pack="true" Link="README.md" PackagePath="\" />
5955
</ItemGroup>
6056
</Project>

PostgrestExample/PostgrestExample.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<ReleaseVersion>3.1.3</ReleaseVersion>
6-
</PropertyGroup>
7-
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net48</TargetFrameworks>
85
<LangVersion>latest</LangVersion>
96
</PropertyGroup>
7+
108
<ItemGroup>
119
<ProjectReference Include="..\Postgrest\Postgrest.csproj" />
1210
</ItemGroup>

PostgrestTests/PostgrestTests.csproj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
3+
<TargetFramework>net8.0</TargetFramework>
44
<IsPackable>false</IsPackable>
5-
<ReleaseVersion>3.1.3</ReleaseVersion>
6-
<TargetFramework>net7.0</TargetFramework>
7-
</PropertyGroup>
8-
9-
<PropertyGroup>
105
<Nullable>enable</Nullable>
116
<LangVersion>latest</LangVersion>
127
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
138
</PropertyGroup>
149

1510
<ItemGroup>
16-
<PackageReference Include="gotrue-csharp" Version="3.0.4" />
17-
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
1811
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
1912
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
2013
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />

0 commit comments

Comments
 (0)