-
Notifications
You must be signed in to change notification settings - Fork 0
fix unloading #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix unloading #71
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| namespace Frends.MicrosoftSQL.ExecuteQueryToFile.Enums; | ||
| #pragma warning disable CS1591 // Self-explanatory | ||
| /// <summary> | ||
| /// File encoding used to encode the file. | ||
| /// </summary> | ||
| public enum FileEncoding | ||
| { | ||
| UTF8, | ||
| ANSI, | ||
| ASCII, | ||
| Unicode, | ||
| Other, | ||
| } | ||
| namespace Frends.MicrosoftSQL.ExecuteQueryToFile.Enums; | ||
|
|
||
| #pragma warning disable CS1591 // Self-explanatory | ||
|
|
||
| /// <summary> | ||
| /// File encoding used to encode the file. | ||
| /// </summary> | ||
| public enum FileEncoding | ||
| { | ||
| UTF8, | ||
| ANSI, | ||
| ASCII, | ||
| Unicode, | ||
| Other, | ||
| } | ||
|
|
||
| #pragma warning restore CS1591 // Self-explanatory |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| namespace Frends.MicrosoftSQL.ExecuteQueryToFile.Enums; | ||
| #pragma warning disable CS1591 // Self-explanatory | ||
| /// <summary> | ||
| /// Enumeration for output format. | ||
| /// </summary> | ||
| public enum ReturnFormat | ||
| { | ||
| CSV, | ||
| } | ||
| namespace Frends.MicrosoftSQL.ExecuteQueryToFile.Enums; | ||
|
|
||
| #pragma warning disable CS1591 // Self-explanatory | ||
|
|
||
| /// <summary> | ||
| /// Enumeration for output format. | ||
| /// </summary> | ||
| public enum ReturnFormat | ||
| { | ||
| CSV, | ||
| } | ||
|
|
||
| #pragma warning restore CS1591 // Self-explanatory |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| <PropertyGroup> | ||
| <TargetFramework>net6.0</TargetFramework> | ||
| <LangVersion>Latest</LangVersion> | ||
| <Version>2.1.0</Version> | ||
| <Version>2.2.0</Version> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Step 1: Find and display the full .csproj file
echo "=== Frends.MicrosoftSQL.ExecuteQueryToFile.csproj content ==="
find . -name "Frends.MicrosoftSQL.ExecuteQueryToFile.csproj" -type f -exec cat {} \;Repository: FrendsPlatform/Frends.MicrosoftSQL Length of output: 2042 🏁 Script executed: #!/bin/bash
# Step 2: Find the Result class definition
echo "=== Searching for Result class definition ==="
find . -path "*/Frends.MicrosoftSQL.ExecuteQueryToFile/*" -name "*.cs" -type f | head -20Repository: FrendsPlatform/Frends.MicrosoftSQL Length of output: 1798 🏁 Script executed: #!/bin/bash
cat ./Frends.MicrosoftSQL.ExecuteQueryToFile/Frends.MicrosoftSQL.ExecuteQueryToFile/Definitions/Result.csRepository: FrendsPlatform/Frends.MicrosoftSQL Length of output: 931 Version bump and .csproj configuration look correct. The version increment from 2.1.0 to 2.2.0 follows semantic versioning, and all .csproj requirements are met:
However, the Result class in Definitions/Result.cs is missing the required 🤖 Prompt for AI Agents |
||
| <Authors>Frends</Authors> | ||
| <Copyright>Frends</Copyright> | ||
| <Company>Frends</Company> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: FrendsPlatform/Frends.MicrosoftSQL
Length of output: 60
🏁 Script executed:
Repository: FrendsPlatform/Frends.MicrosoftSQL
Length of output: 638
🏁 Script executed:
Repository: FrendsPlatform/Frends.MicrosoftSQL
Length of output: 1183
🏁 Script executed:
Repository: FrendsPlatform/Frends.MicrosoftSQL
Length of output: 1825
Result class missing required
SuccessandErrorproperties.The
Resultclass is missing required properties per the coding guidelines. It currently has task-specific return values (EntriesWritten,Path,FileName) but lacks:Success(bool) — required for all task result classesErrorobject withMessageandAdditionalInfo— required for error handlingCompare with
ExecuteQuery.Resultwhich correctly implementsSuccess,ErrorMessage, and task-specific data. AlignExecuteQueryToFile.Resultto match this pattern.🧰 Tools
🪛 GitHub Actions: ExecuteQueryToFile_build_test
[error] 38-38: FT0011: Class should include a 'Success' property
[error] 38-38: FT0011: Class should include a 'Error' property
🤖 Prompt for AI Agents