Skip to content

Remove unused field, obsolete API call, and deprecated GitHub Actions command#1089

Merged
renemadsen merged 3 commits intomasterfrom
copilot/remove-code-warnings
Jan 2, 2026
Merged

Remove unused field, obsolete API call, and deprecated GitHub Actions command#1089
renemadsen merged 3 commits intomasterfrom
copilot/remove-code-warnings

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 2, 2026

Resolves compiler warnings and GitHub Actions deprecation notices in the codebase.

Changes

  • Removed unused _connectionString field in EformGreateBeltPlugin.cs (CS0169 warning)
  • Removed obsolete TranslateParameterizedCollectionsToConstants() call from Entity Framework configuration - method is deprecated with no required replacement
  • Updated GitHub Actions workflow to use $GITHUB_OUTPUT instead of deprecated set-output command:
- run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
+ run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
  • Added net10.0 to .gitignore to exclude build artifacts
Original prompt

This section details on the original issue you should resolve

<issue_title>Get rid of warnings in codebase</issue_title>
<issue_description>```
greatebelt-dotnet-test: eFormAPI/Plugins/GreateBelt.Pn/GreateBelt.Pn/EformGreateBeltPlugin.cs#L54
The field 'EformGreateBeltPlugin._connectionString' is never used
greatebelt-dotnet-test: eFormAPI/Plugins/GreateBelt.Pn/GreateBelt.Pn/EformGreateBeltPlugin.cs#L128
'RelationalDbContextOptionsBuilder<MySqlDbContextOptionsBuilder, MySqlOptionsExtension>.TranslateParameterizedCollectionsToConstants()' is obsolete: 'Use UseParameterizedCollectionMode instead.'
greatebelt-dotnet-test: eFormAPI/Plugins/GreateBelt.Pn/GreateBelt.Pn/EformGreateBeltPlugin.cs#L54
The field 'EformGreateBeltPlugin._connectionString' is never used
greatebelt-dotnet-test: eFormAPI/Plugins/GreateBelt.Pn/GreateBelt.Pn/EformGreateBeltPlugin.cs#L128
'RelationalDbContextOptionsBuilder<MySqlDbContextOptionsBuilder, MySqlOptionsExtension>.TranslateParameterizedCollectionsToConstants()' is obsolete: 'Use UseParameterizedCollectionMode instead.'
greate-betl-pn-test
The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/


## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 2, 2026 11:07
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove warnings in codebase Remove unused field, obsolete API call, and deprecated GitHub Actions command Jan 2, 2026
Copilot AI requested a review from renemadsen January 2, 2026 11:11
@renemadsen renemadsen marked this pull request as ready for review January 2, 2026 11:14
@renemadsen renemadsen merged commit c757428 into master Jan 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get rid of warnings in codebase

2 participants