Skip to content

Fixed: missing property setter in options #742

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 1 commit into from
May 11, 2020
Merged
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
12 changes: 6 additions & 6 deletions src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ public class JsonApiOptions : IJsonApiOptions
public bool IncludeExceptionStackTraceInErrors { get; set; } = false;

/// <summary>
/// Whether or not resource hooks are enabled.
/// Whether or not resource hooks are enabled.
/// This is currently an experimental feature and defaults to <see langword="false"/>.
/// </summary>
public bool EnableResourceHooks { get; set; } = false;

/// <summary>
/// Whether or not database values should be included by default
/// for resource hooks. Ignored if EnableResourceHooks is set false.
///
///
/// Defaults to <see langword="false"/>.
/// </summary>
public bool LoadDatabaseValues { get; set; }
Expand All @@ -55,12 +55,12 @@ public class JsonApiOptions : IJsonApiOptions

/// <inheritdoc/>
public bool AllowQueryStringOverrideForSerializerNullValueHandling { get; set; }

/// <inheritdoc/>
public bool AllowQueryStringOverrideForSerializerDefaultValueHandling { get; set; }

/// <inheritdoc/>
public AttrCapabilities DefaultAttrCapabilities { get; } = AttrCapabilities.All;
public AttrCapabilities DefaultAttrCapabilities { get; set; } = AttrCapabilities.All;

/// <summary>
/// The default page size for all resources. The value zero means: no paging.
Expand Down Expand Up @@ -98,8 +98,8 @@ public class JsonApiOptions : IJsonApiOptions

/// <summary>
/// Whether or not clients can provide ids when creating resources.
/// Defaults to false. When disabled the application will respond
/// with a 403 Forbidden response if a client attempts to create a
/// Defaults to false. When disabled the application will respond
/// with a 403 Forbidden response if a client attempts to create a
/// resource with a defined id.
/// </summary>
/// <example>
Expand Down