Skip to content

Commit

Permalink
Add missing Obsolete markers
Browse files Browse the repository at this point in the history
  • Loading branch information
bkoelman committed Sep 17, 2023
1 parent ce358fe commit abf8ad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/JsonApiDotNetCore/Resources/ResourceDefinitionAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class ResourceDefinitionAccessor : IResourceDefinitionAccessor
private readonly IServiceProvider _serviceProvider;

/// <inheritdoc />
[Obsolete("Use IJsonApiRequest.IsReadOnly.")]
public bool IsReadOnlyRequest
{
get
Expand All @@ -27,6 +28,7 @@ public bool IsReadOnlyRequest
}

/// <inheritdoc />
[Obsolete("Use injected IQueryableBuilder instead.")]
public IQueryableBuilder QueryableBuilder => _serviceProvider.GetRequiredService<IQueryableBuilder>();

public ResourceDefinitionAccessor(IResourceGraph resourceGraph, IServiceProvider serviceProvider)
Expand Down

0 comments on commit abf8ad3

Please sign in to comment.