Skip to content

Ensure ChangeSet is always initialized before use#574

Merged
Daniel-Svensson merged 10 commits into
OpenRIAServices:mainfrom
TreasurySystems:DomainService.ChangeSet-not-nullable
May 12, 2026
Merged

Ensure ChangeSet is always initialized before use#574
Daniel-Svensson merged 10 commits into
OpenRIAServices:mainfrom
TreasurySystems:DomainService.ChangeSet-not-nullable

Conversation

@TS-Jack-Webb
Copy link
Copy Markdown
Contributor

@TS-Jack-Webb TS-Jack-Webb commented May 11, 2026

Removed nullable ChangeSet, it now throws if _changeSet is null, and replaced all null-forgiving usages. Added DomainService_ChangeSetNotInitialized resource string used in the thrown exception.

Summary by CodeRabbit

  • Bug Fixes

    • Accessing the ChangeSet outside a submit now throws a clear InvalidOperationException with a localized message, preventing silent null access.
  • Documentation

    • Changelog updated to note the stricter ChangeSet behavior in the 5.8.0 client release notes.
  • Tests

    • Added tests verifying ChangeSet access rules during and outside submit processing.
  • Chores

    • Project templates updated to target .NET Framework 4.8; added a compatibility attribute to improve stack-trace behavior on older targets.

Review Change Stack

Removed nullable ChangeSet, added EnsureChangeSetInitialized() to throw if uninitialized, and replaced all null-forgiving usages. Added DomainService_ChangeSetNotInitialized resource string used in the thrown exception.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

Warning

Rate limit exceeded

@TS-Jack-Webb has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 47 minutes and 53 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6e4f689d-93cf-4ff1-8637-1865525886be

📥 Commits

Reviewing files that changed from the base of the PR and between 5e1787a and c937a67.

📒 Files selected for processing (2)
  • Changelog.md
  • src/OpenRiaServices.Server/Framework/Data/DomainService.cs
📝 Walkthrough

Walkthrough

DomainService.ChangeSet becomes non-nullable and now throws a localized InvalidOperationException if accessed before initialization; all submit-pipeline sites use the non-nullable property. A new resource entry, tests, polyfill, changelog note, and several project target bumps were added.

Changes

ChangeSet Non-Nullable Contract and Pipeline Migration

Layer / File(s) Summary
ChangeSet Property & Initialization Guard
src/OpenRiaServices.Server/Framework/Data/DomainService.cs
Added using System.Diagnostics.CodeAnalysis;. ChangeSet changed from protected ChangeSet? to protected ChangeSet with a guard that throws DomainService_ChangeSetNotInitialized when uninitialized.
Submit pipeline usage updates
src/OpenRiaServices.Server/Framework/Data/DomainService.cs
Replaced all this.ChangeSet! usages with this.ChangeSet in authorization, validation, resolution, CUD/custom invocation, persistence error handling, and final HasError checks.
Error Message Resources
src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs, src/OpenRiaServices.Server/Framework/Data/Resource.resx
Added DomainService_ChangeSetNotInitialized resource entry and strongly-typed accessor; bumped GeneratedCodeAttribute version.
Unit tests & test stub
src/OpenRiaServices.Server/Test/DomainServiceTests.cs
Added tests that assert ChangeSet throws before initialization and is accessible during SubmitAsync; introduced ChangeSetAccessorDomainService test stub and included minor formatting adjustments.
Compatibility polyfill
src/OpenRiaServices.Client/Framework/Polyfills.cs
Added using System.Diagnostics; and a StackTraceHiddenAttribute polyfill for non-.NET targets.
Changelog entry
Changelog.md
Added 5.8.0 note that ChangeSet now throws InvalidOperationException when accessed outside a submit operation.
Project target framework bumps
src/VisualStudio/.../*.csproj
Updated several Visual Studio item/template project TargetFrameworkVersion values from v4.6 to v4.8 and minor EOF whitespace edits.

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs:

"I nudged the ChangeSet into the sun,
No longer nullable, now it's one.
A guard stands fast,
Tests hold it fast,
Rabbit hops home — the patch is done." 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 57.69% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and accurately reflects the main change: converting ChangeSet from nullable to non-nullable with initialization guards.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/OpenRiaServices.Server/Framework/Data/DomainService.cs`:
- Around line 1023-1034: Add unit tests that assert the new fail-fast guard:
call methods/properties that access ChangeSet before initialization and verify
EnsureChangeSetInitialized throws InvalidOperationException with
Resource.DomainService_ChangeSetNotInitialized; then add a positive test that
initializes _changeSet (or runs the initialization path used in production) and
verifies submit flows (e.g., the submit method/path that uses ChangeSet)
complete without throwing and behave as expected. Target tests at the
EnsureChangeSetInitialized method and the private field _changeSet and exercise
the public submit API that relies on ChangeSet to ensure both the failure and
normal-success scenarios are covered.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: af176d1b-d9e7-4911-96ed-dfdefdd7081c

📥 Commits

Reviewing files that changed from the base of the PR and between 44e41cf and 21fc625.

📒 Files selected for processing (3)
  • src/OpenRiaServices.Server/Framework/Data/DomainService.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.resx

Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs Outdated
@TS-Jack-Webb
Copy link
Copy Markdown
Contributor Author

@dotnet-policy-service agree company="Treasury Systems Sweden AB"

Added ChangeSetAccessorDomainService and related tests to verify ChangeSet accessibility and exception handling before and during initialization and submit operations. Implemented helper methods and assertions for test coverage.
@Daniel-Svensson
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Member

@Daniel-Svensson Daniel-Svensson left a comment

Choose a reason for hiding this comment

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

Generally looks good, can you just update the ChangeSet property in order to allow inlining of it to ensure optimal performance.

Also can you please just add a line to the changelog.md to make it clear that this is a behaviour change (so it has a low risk of being a breaking change in case someone somewhere expects to be able to check the property to see if it is a submit or not)

Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs Outdated
Comment thread src/OpenRiaServices.Server/Framework/Data/Resource.resx Outdated
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs
@Daniel-Svensson
Copy link
Copy Markdown
Member

@TS-Jack-Webb it seems builds are failing (might be related to azure deveops image changes)

There errors mentions .NETFramework,Version=v4.6, do you have the time to look through .csproj projects and update any net46 to net472 and .NETFramework,Version=v4.6 to .NETFramework,Version=v4.7.2

@TS-Jack-Webb
Copy link
Copy Markdown
Contributor Author

@TS-Jack-Webb it seems builds are failing (might be related to azure deveops image changes)

There errors mentions .NETFramework,Version=v4.6, do you have the time to look through .csproj projects and update any net46 to net472 and .NETFramework,Version=v4.6 to .NETFramework,Version=v4.7.2

It's the projects in VisualStudioExtension that need to be updated, I had to unload them when building the solution locally. I will update them.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
src/VisualStudio/ItemTemplates/CSharp/DomainServiceClass/DomainServiceClass.csproj (1)

78-83: 🧹 Nitpick | 🔵 Trivial | 💤 Low value

Consider updating the BootstrapperPackage framework version.

The project now targets .NET Framework v4.8, but the BootstrapperPackage still references v4.5. While not critical for template projects, aligning the bootstrapper to reference v4.8 (or removing it if ClickOnce deployment is not needed) would maintain consistency.

📦 Proposed update
-    <BootstrapperPackage Include=".NETFramework,Version=v4.5">
+    <BootstrapperPackage Include=".NETFramework,Version=v4.8">
       <Visible>False</Visible>
-      <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
+      <ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
       <Install>true</Install>
     </BootstrapperPackage>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@src/VisualStudio/ItemTemplates/CSharp/DomainServiceClass/DomainServiceClass.csproj`
around lines 78 - 83, The BootstrapperPackage element in the project file still
references .NETFramework,Version=v4.5 (the BootstrapperPackage node and its
ProductName) while the project targets .NET Framework 4.8; either update the
BootstrapperPackage Include to ".NETFramework,Version=v4.8" and adjust the
ProductName to "Microsoft .NET Framework 4.8 (x86 and x64)" to match the target
framework, or remove the entire BootstrapperPackage element if
ClickOnce/bootstrapper deployment is not required.
src/VisualStudio/ItemTemplates/CSharp/AuthenticationDomainService/AuthenticationDomainService.csproj (1)

78-82: 🧹 Nitpick | 🔵 Trivial | 💤 Low value

Consider updating the BootstrapperPackage framework version.

The project now targets .NET Framework v4.8, but the BootstrapperPackage still references v4.5. While not critical for template projects, aligning the bootstrapper to reference v4.8 (or removing it if ClickOnce deployment is not needed) would maintain consistency.

📦 Proposed update
-    <BootstrapperPackage Include=".NETFramework,Version=v4.5">
+    <BootstrapperPackage Include=".NETFramework,Version=v4.8">
       <Visible>False</Visible>
-      <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
+      <ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
       <Install>true</Install>
     </BootstrapperPackage>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@src/VisualStudio/ItemTemplates/CSharp/AuthenticationDomainService/AuthenticationDomainService.csproj`
around lines 78 - 82, The BootstrapperPackage entry still references
.NETFramework,Version=v4.5 and a ProductName for .NET 4.5; update the
BootstrapperPackage Include value to ".NETFramework,Version=v4.8" and adjust the
ProductName to "Microsoft .NET Framework 4.8 %28x86 and x64%29" to match the
project target, or remove the entire BootstrapperPackage element (the
<BootstrapperPackage> block) if ClickOnce/bootstrapper deployment is not
required.
src/OpenRiaServices.Server/Framework/Data/DomainService.cs (1)

500-505: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Move _changeSet assignment after operation validation.

At Line 501, _changeSet is assigned before EnsureInitialized() and CheckOperationType(...). If validation fails, the instance still keeps a non-null _changeSet, which can make ChangeSet appear initialized in an invalid operation context.

Suggested fix
 public virtual async ValueTask<bool> SubmitAsync(ChangeSet changeSet, CancellationToken cancellationToken)
 {
     try
     {
         ArgumentNullException.ThrowIfNull(changeSet);
-        this._changeSet = changeSet;

         this.EnsureInitialized();
         this.CheckOperationType(DomainOperationType.Submit);
+        this._changeSet = changeSet;
         this.ResolveOperations();
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/OpenRiaServices.Server/Framework/Data/DomainService.cs` around lines 500
- 505, Currently _changeSet is set before validation, so if EnsureInitialized()
or CheckOperationType(DomainOperationType.Submit) fail the instance will retain
a non-null _changeSet; to fix, keep the null-check
ArgumentNullException.ThrowIfNull(changeSet) first, then call
this.EnsureInitialized() and
this.CheckOperationType(DomainOperationType.Submit), then assign this._changeSet
= changeSet, and finally call this.ResolveOperations() so ResolveOperations can
operate on a valid, already-validated _changeSet.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Changelog.md`:
- Line 19: Replace the redundant sentence about ChangeSet with a concise
phrasing: change the line that mentions "ChangeSet now throws an
`InvalidOperationException` if accessed outside of a submit operation, eg. in
the cases where `ChangeSet` previously would have returned `null`." to a shorter
sentence such as "ChangeSet now throws an `InvalidOperationException` when
accessed outside of a submit operation." referencing the ChangeSet symbol and
the InvalidOperationException.

In `@src/OpenRiaServices.Server/Framework/Data/DomainService.cs`:
- Around line 227-235: The code currently dereferences
this.ServiceContext.OperationType when _changeSet is null which can call
EnsureInitialized() and throw the wrong exception; fix by avoiding
ServiceContext access—use the backing field or a safe conditional access for the
operation type and pass that into ThrowChangeSetNotInitialized (e.g. use
this._serviceContext?.OperationType ?? default(DomainOperationType)) or change
ThrowChangeSetNotInitialized to not rely on ServiceContext, and update the
CallSite in the ChangeSet getter (symbols: ChangeSet getter, _changeSet,
ServiceContext.OperationType, _serviceContext, ThrowChangeSetNotInitialized,
DomainOperationType) so the InvalidOperationException thrown is the intended
DomainService_ChangeSetNotInitialized.

---

Outside diff comments:
In `@src/OpenRiaServices.Server/Framework/Data/DomainService.cs`:
- Around line 500-505: Currently _changeSet is set before validation, so if
EnsureInitialized() or CheckOperationType(DomainOperationType.Submit) fail the
instance will retain a non-null _changeSet; to fix, keep the null-check
ArgumentNullException.ThrowIfNull(changeSet) first, then call
this.EnsureInitialized() and
this.CheckOperationType(DomainOperationType.Submit), then assign this._changeSet
= changeSet, and finally call this.ResolveOperations() so ResolveOperations can
operate on a valid, already-validated _changeSet.

In
`@src/VisualStudio/ItemTemplates/CSharp/AuthenticationDomainService/AuthenticationDomainService.csproj`:
- Around line 78-82: The BootstrapperPackage entry still references
.NETFramework,Version=v4.5 and a ProductName for .NET 4.5; update the
BootstrapperPackage Include value to ".NETFramework,Version=v4.8" and adjust the
ProductName to "Microsoft .NET Framework 4.8 %28x86 and x64%29" to match the
project target, or remove the entire BootstrapperPackage element (the
<BootstrapperPackage> block) if ClickOnce/bootstrapper deployment is not
required.

In
`@src/VisualStudio/ItemTemplates/CSharp/DomainServiceClass/DomainServiceClass.csproj`:
- Around line 78-83: The BootstrapperPackage element in the project file still
references .NETFramework,Version=v4.5 (the BootstrapperPackage node and its
ProductName) while the project targets .NET Framework 4.8; either update the
BootstrapperPackage Include to ".NETFramework,Version=v4.8" and adjust the
ProductName to "Microsoft .NET Framework 4.8 (x86 and x64)" to match the target
framework, or remove the entire BootstrapperPackage element if
ClickOnce/bootstrapper deployment is not required.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b7387996-b1a7-4cf7-b92d-484e5e608178

📥 Commits

Reviewing files that changed from the base of the PR and between 21fc625 and dfc64c3.

📒 Files selected for processing (9)
  • Changelog.md
  • src/OpenRiaServices.Server/Framework/Data/DomainService.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.resx
  • src/OpenRiaServices.Server/Test/DomainServiceTests.cs
  • src/VisualStudio/ItemTemplates/CSharp/AuthenticationDomainService/AuthenticationDomainService.csproj
  • src/VisualStudio/ItemTemplates/CSharp/DomainServiceClass/DomainServiceClass.csproj
  • src/VisualStudio/Templates/CSharp/BusinessApplication/BusinessApplicationProjectTemplate.csproj
  • src/VisualStudio/Templates/CSharp/RIAServicesLibrary/OpenRiaServicesLibrary.csproj

Comment thread Changelog.md Outdated
Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs Outdated
TS-Jack-Webb and others added 2 commits May 12, 2026 10:41
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens DomainService.ChangeSet semantics so it is no longer nullable and will throw a localized InvalidOperationException when accessed before it has been initialized as part of submit processing. It also updates related templates/changelog and adds tests intended to validate the new behavior.

Changes:

  • Make DomainService.ChangeSet non-nullable and throw with a new localized resource string when uninitialized.
  • Add tests for ChangeSet access before/after submit, plus supporting test-only DomainService.
  • Update VS project/item templates to target .NET Framework 4.8 and document the behavior change in the changelog.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/VisualStudio/Templates/CSharp/RIAServicesLibrary/OpenRiaServicesLibrary.csproj Template target framework bumped to .NET Framework 4.8.
src/VisualStudio/Templates/CSharp/BusinessApplication/BusinessApplicationProjectTemplate.csproj Template target framework bumped to .NET Framework 4.8.
src/VisualStudio/ItemTemplates/CSharp/DomainServiceClass/DomainServiceClass.csproj Item template target framework bumped to .NET Framework 4.8.
src/VisualStudio/ItemTemplates/CSharp/AuthenticationDomainService/AuthenticationDomainService.csproj Item template target framework bumped to .NET Framework 4.8.
src/OpenRiaServices.Server/Test/DomainServiceTests.cs Adds tests and a helper DomainService to validate ChangeSet access rules.
src/OpenRiaServices.Server/Framework/Data/Resource.resx Adds localized message for uninitialized ChangeSet access.
src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs Regenerated strongly-typed resources for the new string.
src/OpenRiaServices.Server/Framework/Data/DomainService.cs Implements throwing ChangeSet accessor and removes null-forgiving usages.
src/OpenRiaServices.Client/Framework/Polyfills.cs Adds StackTraceHiddenAttribute polyfill for non-NET targets.
Changelog.md Documents the breaking behavioral change (throw instead of null).
Files not reviewed (1)
  • src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs Outdated
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs
Comment thread src/OpenRiaServices.Server/Framework/Data/Resource.resx Outdated
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs Outdated
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs Outdated
Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/OpenRiaServices.Server/Framework/Data/DomainService.cs`:
- Around line 224-240: The ChangeSet getter currently only checks _changeSet !=
null; update it to also verify the current operation is a submit by checking the
private field _serviceContext.Operation (not the ServiceContext property) and
throw the same InvalidOperationException
(Resource.DomainService_ChangeSetNotInitialized) via the existing
ThrowChangeSetNotInitialized helper when either _changeSet is null or the
operation is not a submit; keep the helper signature and attributes unchanged so
the exception contract and stacktrace behavior remain identical.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3eede25a-22b1-4521-b27f-4117f2774b22

📥 Commits

Reviewing files that changed from the base of the PR and between dfc64c3 and 5e1787a.

📒 Files selected for processing (6)
  • Changelog.md
  • src/OpenRiaServices.Client/Framework/Polyfills.cs
  • src/OpenRiaServices.Server/Framework/Data/DomainService.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs
  • src/OpenRiaServices.Server/Framework/Data/Resource.resx
  • src/OpenRiaServices.Server/Test/DomainServiceTests.cs

Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • src/OpenRiaServices.Server/Framework/Data/Resource.Designer.cs: Language not supported

Comment thread src/OpenRiaServices.Server/Framework/Data/DomainService.cs Outdated
Comment thread Changelog.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@Daniel-Svensson Daniel-Svensson left a comment

Choose a reason for hiding this comment

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

Looks good, thanks

@Daniel-Svensson
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@Daniel-Svensson Daniel-Svensson enabled auto-merge (squash) May 12, 2026 13:41
@Daniel-Svensson Daniel-Svensson disabled auto-merge May 12, 2026 13:45
@Daniel-Svensson Daniel-Svensson enabled auto-merge (squash) May 12, 2026 13:46
@sonarqubecloud
Copy link
Copy Markdown

Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs Dismissed
Comment thread src/OpenRiaServices.Server/Test/DomainServiceTests.cs Dismissed
@Daniel-Svensson Daniel-Svensson merged commit 780e937 into OpenRIAServices:main May 12, 2026
7 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.

4 participants