Skip to content

Conversation

@NillasKA
Copy link
Contributor

Description

A ton of obsoleted code, that has been scheduled for removal in Umbraco 17 has been removed, and their usages has been adjusted (If there was any)

Mainly this PR is the removal of obsoleted code from the Umbraco.Cms.Api.Common

@NillasKA NillasKA changed the title V17 - Removed obseleted code from Cms.Api.Common V17 - Removed obsoleted code from Cms.Api.Common Aug 21, 2025
* Removing obsoleted constructors from AncestorsSelector.cs

* Removing obsoleted constructors from ChildrenSelector.cs

* Removing obsoleted code from DescendantsSelector.cs

* Removing obsoleted code from RequestCultureService.cs

* Removing obsoleted code from QueryOptionBase.cs
@NillasKA NillasKA changed the title V17 - Removed obsoleted code from Cms.Api.Common V17 - Removed obsoleted code from Cms.Api Aug 21, 2025
Copy link
Contributor

@AndyButland AndyButland 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 - just a little further clean-up we can do that I've noted inline.

@NillasKA NillasKA requested a review from AndyButland August 22, 2025 10:13
Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Looks mostly good to me now, but could you just check over and remove the ActivatorUtilitiesConstructor from all controllers where you have cleaned up to only have one constructor left please. It doesn't really do any harm, but it's not necessary unless there is more than one constructor, so we can remove it.

@NillasKA NillasKA requested a review from AndyButland August 22, 2025 12:22
@AndyButland AndyButland enabled auto-merge (squash) August 22, 2025 12:37
@AndyButland AndyButland merged commit 07abec2 into v17/dev Aug 25, 2025
25 checks passed
@AndyButland AndyButland deleted the v17/api-common-rm-obsoleted branch August 25, 2025 07:37
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.

3 participants