Moves the byte-identical 19-file ExpressionFactory/Query tree (duplicated across Snowflake and SqlServer) into the new Strata.SqlTools.Query project under the flat namespace Strata.SqlTools.Query. Both dialect projects now reference the shared project; the Snowflake copies are deleted. Also folds in the IDE0028 fix on CalculationFilterGroup.GetValidFilters (collection expression []), which resolves both new-code IDE0028 smells in one place now that there is a single copy. Eliminates the 63 new duplicate lines flagged on the PR and removes the largest contributor to the project's 11.1% duplication density. No behavioral change: the moved types are identical to the originals. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
48 lines
2.2 KiB
XML
48 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
<!-- NuGet Package Metadata -->
|
|
<PackageId>Strata.SqlTools.Snowflake</PackageId>
|
|
<Version>1.0.0</Version>
|
|
<Authors>Strata Decision Technology</Authors>
|
|
<Company>Strata Decision Technology</Company>
|
|
<Product>Strata SQL Utilities - Snowflake</Product>
|
|
<Description>Snowflake SQL specific implementations for Strata.SqlTools, including query breakdown, statement parsing, and SQL generation for Snowflake SQL dialect with support for both :parameter and @parameter syntax.</Description>
|
|
<PackageTags>snowflake;sql;query-builder;sql-parser;database;snowflake-sql</PackageTags>
|
|
<PackageProjectUrl>https://github.com/stratadecision/sql-builder</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/stratadecision/sql-builder</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<PackageReleaseNotes>Initial release with Snowflake SQL query parsing, generation, and breakdown support.</PackageReleaseNotes>
|
|
<Copyright>Copyright © Strata Decision Technology 2024-2026</Copyright>
|
|
|
|
<!-- Build Configuration -->
|
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
|
|
|
|
<!-- Code Analysis -->
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>latest</AnalysisLevel>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Strata.SqlTools.SqlServer\Strata.SqlTools.SqlServer.csproj" />
|
|
<ProjectReference Include="..\Strata.SqlTools.Query\Strata.SqlTools.Query.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|