feat(odata): migrate to PanoramicData.OData.Client#38
Open
Conversation
IntegratoR Test Suite quest with enriched mission specs: - testkit: shared test infrastructure (TestKit Foundation) - abstractions: domain primitives and Result types (~51 tests) - application: pipeline behaviours, CQRS handlers (~92 tests) - odata: generic OData client and infrastructure (~59 tests) - odata-fo: D365 F&O entity models and handlers (~56 tests) - relion: RELion integration layer (~41 tests) Total: ~299 tests across 48+ test classes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mark application mission as completed in index. Update agent memory with MediatR delegate signature, NSubstitute visibility, and FluentValidation open-generic registration pitfalls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…Client
Replace unmaintained Simple.OData.Client 6.0.1 with PanoramicData.OData.Client
10.0.55, an actively maintained successor targeting .NET 10 with minimal
dependencies.
Key changes:
- Introduce IODataClientAdapter wrapper for testability (PanoramicData's
ODataClient is concrete with no interface)
- Rewrite ODataExceptionHandler to use PanoramicData's typed exception
hierarchy (ODataNotFoundException, ODataUnauthorizedException, etc.)
- Rewrite ODataService method bodies to use adapter pattern
- Update DI registration: ODataClientOptions replaces ODataClientSettings
- Remove AppContext.SetSwitch("Switch.System.Xml.AllowDefaultResolver")
security concern
- Enable CentralPackageTransitivePinningEnabled for dependency hygiene
- Remove Microsoft.OData.Core and Microsoft.OData.Edm transitive deps
- Update all 303 tests (0 failures)
- Document PanoramicData-specific features for future adoption
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
IODataClientAdapterwrapper over PanoramicData's concreteODataClientfor testabilityODataNotFoundException,ODataUnauthorizedException,ODataForbiddenException,ODataConcurrencyException)AppContext.SetSwitch("Switch.System.Xml.AllowDefaultResolver", true)security concernCentralPackageTransitivePinningEnabledand remove legacy transitive dependencies (Microsoft.OData.Core,Microsoft.OData.Edm)Changed Files (13)
Directory.Packages.props,.csprojIODataClientAdapter.cs,ODataClientAdapter.csODataExceptionHandler.csODataService.csApplicationDependencyInjection.cspanoramicdata-features.mdTest plan
dotnet buildsucceeds across full solutionSimple.OData.Clientreferences remain in.cs,.csproj, or.propsfilesAppContext.SetSwitchremovedCentralPackageTransitivePinningEnabled = trueset🤖 Generated with Claude Code