Skip to content

Added auto-expansion of inheritdoc comments #947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ namespace JsonApiDotNetCore.Controllers
/// <typeparam name="TId">The resource identifier type.</typeparam>
public abstract class JsonApiCommandController<TResource, TId> : BaseJsonApiController<TResource, TId> where TResource : class, IIdentifiable<TId>
{
/// <inheritdoc />
/// <summary>
/// Creates an instance from a write-only service.
/// </summary>
protected JsonApiCommandController(
IJsonApiOptions options,
ILoggerFactory loggerFactory,
Expand Down
4 changes: 3 additions & 1 deletion src/JsonApiDotNetCore/Controllers/JsonApiQueryController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ namespace JsonApiDotNetCore.Controllers
/// <typeparam name="TId">The resource identifier type.</typeparam>
public abstract class JsonApiQueryController<TResource, TId> : BaseJsonApiController<TResource, TId> where TResource : class, IIdentifiable<TId>
{
/// <inheritdoc />
/// <summary>
/// Creates an instance from a read-only service.
/// </summary>
protected JsonApiQueryController(
IJsonApiOptions context,
ILoggerFactory loggerFactory,
Expand Down
4 changes: 4 additions & 0 deletions src/JsonApiDotNetCore/JsonApiDotNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="SauceControl.InheritDoc" Version="1.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
</Project>