- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Bump FAnsiSql.Legacy from 3.3.1 to 3.3.4 #49
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
Conversation
--- updated-dependencies: - dependency-name: FAnsiSql.Legacy dependency-version: 3.3.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
- [x] Review the current Startup.cs file and understand the PreStartup method - [x] Add #pragma warning disable CS0618 before the ImplementationManager.Load calls - [x] Add a comment explaining why the pragma is required - [x] Add #pragma warning restore CS0618 after the calls - [x] Build the project to ensure the change compiles correctly - [x] Verify the change matches the desired replacement in the problem statement <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > Replace the PreStartup() implementation in Rdmp.Core/Startup/Startup.cs to silence the obsolete-warning CS0618 around ImplementationManager.Load<T>() calls while keeping the calls intact. > > File to modify: Rdmp.Core/Startup/Startup.cs (ref: bbe80bc, BlobSha: edfec72) > > Current content around PreStartup (lines ~279-285): > > public static void PreStartup() > { > ImplementationManager.Load<MicrosoftSQLImplementation>(); > ImplementationManager.Load<MySqlImplementation>(); > ImplementationManager.Load<OracleImplementation>(); > ImplementationManager.Load<PostgreSqlImplementation>(); > } > > Change requested: > - Wrap those four ImplementationManager.Load<T>() calls with #pragma warning disable CS0618 and #pragma warning restore CS0618 so the obsolete warning does not fail the build, but the calls remain. > - Keep the rest of the file untouched. > - Add a short comment explaining why the pragma is required (documentation states the calls are obsolete but they are still necessary at runtime). > > Desired replacement method: > > public static void PreStartup() > { > // ImplementationManager.Load<T>() is marked obsolete but is still required at runtime for explicit registration of DBMS implementations. > #pragma warning disable CS0618 // ImplementationManager.Load<T>() is obsolete but required > ImplementationManager.Load<MicrosoftSQLImplementation>(); > ImplementationManager.Load<MySqlImplementation>(); > ImplementationManager.Load<OracleImplementation>(); > ImplementationManager.Load<PostgreSqlImplementation>(); > #pragma warning restore CS0618 > } > > Commit message: "Silence CS0618 for ImplementationManager.Load calls in PreStartup while keeping required loads" > > PR title: "Silence obsolete warning for ImplementationManager.Load in PreStartup" > > Repository: jas88/RDMP </details> *This pull request was created as a result of the following prompt from Copilot chat.* > Replace the PreStartup() implementation in Rdmp.Core/Startup/Startup.cs to silence the obsolete-warning CS0618 around ImplementationManager.Load<T>() calls while keeping the calls intact. > > File to modify: Rdmp.Core/Startup/Startup.cs (ref: bbe80bc, BlobSha: edfec72) > > Current content around PreStartup (lines ~279-285): > > public static void PreStartup() > { > ImplementationManager.Load<MicrosoftSQLImplementation>(); > ImplementationManager.Load<MySqlImplementation>(); > ImplementationManager.Load<OracleImplementation>(); > ImplementationManager.Load<PostgreSqlImplementation>(); > } > > Change requested: > - Wrap those four ImplementationManager.Load<T>() calls with #pragma warning disable CS0618 and #pragma warning restore CS0618 so the obsolete warning does not fail the build, but the calls remain. > - Keep the rest of the file untouched. > - Add a short comment explaining why the pragma is required (documentation states the calls are obsolete but they are still necessary at runtime). > > Desired replacement method: > > public static void PreStartup() > { > // ImplementationManager.Load<T>() is marked obsolete but is still required at runtime for explicit registration of DBMS implementations. > #pragma warning disable CS0618 // ImplementationManager.Load<T>() is obsolete but required > ImplementationManager.Load<MicrosoftSQLImplementation>(); > ImplementationManager.Load<MySqlImplementation>(); > ImplementationManager.Load<OracleImplementation>(); > ImplementationManager.Load<PostgreSqlImplementation>(); > #pragma warning restore CS0618 > } > > Commit message: "Silence CS0618 for ImplementationManager.Load calls in PreStartup while keeping required loads" > > PR title: "Silence obsolete warning for ImplementationManager.Load in PreStartup" > > Repository: jas88/RDMP <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jas88 <[email protected]>
| 
           @dependabot rebase  | 
    
| 
           Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request   | 
    
| 
           @dependabot recreate  | 
    
| 
           Looks like FAnsiSql.Legacy is updatable in another way, so this is no longer needed.  | 
    
| 
           A newer version of FAnsiSql.Legacy exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.  | 
    
Updated FAnsiSql.Legacy from 3.3.1 to 3.3.4.
Release notes
Sourced from FAnsiSql.Legacy's releases.
3.3.4
3.3.3
3.3.2
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)