From e1e7511249b93d0fe7d6317e1f94f8a989d0006d Mon Sep 17 00:00:00 2001 From: Bart Koelman Date: Mon, 11 May 2020 18:14:58 +0200 Subject: [PATCH] Fixed: missing property setter in options --- .../Configuration/JsonApiOptions.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs b/src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs index 37335db261..6f0c005fc7 100644 --- a/src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs +++ b/src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs @@ -32,7 +32,7 @@ public class JsonApiOptions : IJsonApiOptions public bool IncludeExceptionStackTraceInErrors { get; set; } = false; /// - /// Whether or not resource hooks are enabled. + /// Whether or not resource hooks are enabled. /// This is currently an experimental feature and defaults to . /// public bool EnableResourceHooks { get; set; } = false; @@ -40,7 +40,7 @@ public class JsonApiOptions : IJsonApiOptions /// /// Whether or not database values should be included by default /// for resource hooks. Ignored if EnableResourceHooks is set false. - /// + /// /// Defaults to . /// public bool LoadDatabaseValues { get; set; } @@ -55,12 +55,12 @@ public class JsonApiOptions : IJsonApiOptions /// public bool AllowQueryStringOverrideForSerializerNullValueHandling { get; set; } - + /// public bool AllowQueryStringOverrideForSerializerDefaultValueHandling { get; set; } /// - public AttrCapabilities DefaultAttrCapabilities { get; } = AttrCapabilities.All; + public AttrCapabilities DefaultAttrCapabilities { get; set; } = AttrCapabilities.All; /// /// The default page size for all resources. The value zero means: no paging. @@ -98,8 +98,8 @@ public class JsonApiOptions : IJsonApiOptions /// /// 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. /// ///