V12: Deprecate XPath (#14372)
* Deprecate all outward facing methods that uses XPath * Add more obsolete messages --------- Co-authored-by: Zeegaan <nge@umbraco.dk>
This commit is contained in:
@@ -24,6 +24,8 @@ public class ContentErrorPage : ValidatableEntryBase
|
||||
/// <summary>
|
||||
/// Gets or sets a value for the content XPath.
|
||||
/// </summary>
|
||||
|
||||
[Obsolete("The current implementation of XPath is suboptimal and will be removed entirely in a future version. Scheduled for removal in v14")]
|
||||
public string? ContentXPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -39,6 +41,7 @@ public class ContentErrorPage : ValidatableEntryBase
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the <see cref="ContentXPath" /> field is populated.
|
||||
/// </summary>
|
||||
[Obsolete("The current implementation of XPath is suboptimal and will be removed entirely in a future version. Scheduled for removal in v14")]
|
||||
public bool HasContentXPath => !string.IsNullOrEmpty(ContentXPath);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user