Skip to content
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

Update to .Net 9.0 #215

Merged
merged 92 commits into from
Jan 8, 2025
Merged

Update to .Net 9.0 #215

merged 92 commits into from
Jan 8, 2025

Conversation

barnstee
Copy link
Member

@barnstee barnstee commented Dec 9, 2024

No description provided.

…ror due to depricated APIs and fixed all warnings (use specific types instead of var, usings consistently declared outside of namespaces, inline arrays declared as class members, class naming conventions, marking internal classes as sealed where possible, don't use .Any() for perf)
@barnstee barnstee self-assigned this Dec 9, 2024
@barnstee barnstee added the enhancement New feature or request label Dec 9, 2024
@barnstee barnstee requested a review from muenchris December 9, 2024 15:06
@barnstee barnstee mentioned this pull request Dec 10, 2024
@barnstee
Copy link
Member Author

@MarkusHorstmann, welcome back :-) Just kidding... Please also have a look at the failed unit tests.

@barnstee barnstee requested a review from Copilot December 18, 2024 18:24

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 97 out of 112 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • CloudLibSync/CloudLibSync.csproj: Language not supported
  • CloudLibSyncAzureFunction/CloudLibSyncAzureFunction.csproj: Language not supported
  • Opc.Ua.CloudLib.Client/Opc.Ua.Cloud.Library.Client.csproj: Language not supported
  • Opc.Ua.CloudLib.Client/GraphQlExtensions.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/VariableResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/UANodesetResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/ObjectResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/ReferenceResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/DataResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/MetadataResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/UANameSpace.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/NodeResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/GraphQLNodeSet.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/RestClient.cs: Evaluated as low risk
  • .github/workflows/dotnet.yml: Evaluated as low risk
Comments suppressed due to low confidence (5)

CloudLibSyncAzureFunction/CloudSyncFunction.cs:42

  • [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'optionError'.
string error = nameof(CloudLibSyncOptions);

CloudLibSyncAzureFunction/CloudSyncFunction.cs:47

  • [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'sourceError'.
string error = nameof(options.Value.Source);

CloudLibSyncAzureFunction/CloudSyncFunction.cs:52

  • [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'targetError'.
string error = nameof(options.Value.Target);

CloudLibSync/CloudLibSync.cs:44

  • The use of nullable type GraphQlNodeAndCursor? seems unnecessary here since nodeSetResult.Edges should not contain null entries. Change to foreach (GraphQlNodeAndCursor nodeSetAndCursor in nodeSetResult.Edges).
foreach (GraphQlNodeAndCursor<Nodeset>? nodeSetAndCursor in nodeSetResult.Edges)

CloudLibSync/CloudLibSync.cs:136

  • The use of nullable type Nodeset? seems unnecessary here since toSync should not contain null entries. Change to foreach (Nodeset nodeSet in toSync).
foreach (Nodeset? nodeSet in toSync)
@barnstee barnstee requested review from Copilot and PaulLinYao January 7, 2025 20:07

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 97 out of 112 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • CloudLibSync/CloudLibSync.csproj: Language not supported
  • CloudLibSyncAzureFunction/CloudLibSyncAzureFunction.csproj: Language not supported
  • Opc.Ua.CloudLib.Client/Opc.Ua.Cloud.Library.Client.csproj: Language not supported
  • Opc.Ua.CloudLib.Client/Models/NodeResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/ObjectResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/GraphQlExtensions.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/VariableResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/UANodesetResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/MetadataResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/DataResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/UANameSpace.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/ReferenceResult.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/RestClient.cs: Evaluated as low risk
  • Opc.Ua.CloudLib.Client/Models/GraphQLNodeSet.cs: Evaluated as low risk
  • .github/workflows/dotnet.yml: Evaluated as low risk
@barnstee barnstee merged commit 0a533bd into main Jan 8, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants