Skip to content

Marking obsolete methods. Bumps the minimum version of AutoMapper.Extensions.ExpressionMapping to10.1.0.#250

Merged
BlaiseD merged 5 commits intomasterfrom
MarkDeprecatedMethods
Mar 10, 2026
Merged

Marking obsolete methods. Bumps the minimum version of AutoMapper.Extensions.ExpressionMapping to10.1.0.#250
BlaiseD merged 5 commits intomasterfrom
MarkDeprecatedMethods

Conversation

@BlaiseD
Copy link
Member

@BlaiseD BlaiseD commented Mar 10, 2026

Marking obsolete methods. Bumps the minimum version of AutoMapper.Extensions.ExpressionMapping to10.1.0.

Copy link

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 marks four public methods in QueryableExtensions.cs as obsolete using the [Obsolete] attribute, directing users to the newer GetQuery/GetQueryAsync methods instead. It also bumps the minimum version of AutoMapper.Extensions.ExpressionMapping from 10.0.0 to 10.1.0.

Changes:

  • Added [Obsolete] attributes to two Get/GetAsync overloads that accept ODataQueryOptions, pointing users to GetQuery/GetQueryAsync.
  • Added [Obsolete] attributes to two Get/GetAsync overloads that accept raw filter/query expressions, noting they were meant for internal use.
  • Bumped the minimum version of AutoMapper.Extensions.ExpressionMapping from 10.0.0 to 10.1.0.

Reviewed changes

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

File Description
AutoMapper.AspNetCore.OData.EFCore/QueryableExtensions.cs Added [Obsolete] attributes to four public extension methods to guide consumers toward preferred alternatives.
AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj Bumped AutoMapper.Extensions.ExpressionMapping minimum version from 10.0.0 to 10.1.0.

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

@BlaiseD BlaiseD changed the title Marking obsolete methods. Marking obsolete methods. Bumps the minimum version of AutoMapper.Extensions.ExpressionMapping to10.1.0. Mar 10, 2026
@BlaiseD BlaiseD merged commit 4819482 into master Mar 10, 2026
3 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.

2 participants