Skip to content

Commit 91ac012

Browse files
author
Bart Koelman
authored
Fixed: missing property setter in options (#742)
1 parent fe9cc11 commit 91ac012

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ public class JsonApiOptions : IJsonApiOptions
3232
public bool IncludeExceptionStackTraceInErrors { get; set; } = false;
3333

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

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

5656
/// <inheritdoc/>
5757
public bool AllowQueryStringOverrideForSerializerNullValueHandling { get; set; }
58-
58+
5959
/// <inheritdoc/>
6060
public bool AllowQueryStringOverrideForSerializerDefaultValueHandling { get; set; }
6161

6262
/// <inheritdoc/>
63-
public AttrCapabilities DefaultAttrCapabilities { get; } = AttrCapabilities.All;
63+
public AttrCapabilities DefaultAttrCapabilities { get; set; } = AttrCapabilities.All;
6464

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

9999
/// <summary>
100100
/// Whether or not clients can provide ids when creating resources.
101-
/// Defaults to false. When disabled the application will respond
102-
/// with a 403 Forbidden response if a client attempts to create a
101+
/// Defaults to false. When disabled the application will respond
102+
/// with a 403 Forbidden response if a client attempts to create a
103103
/// resource with a defined id.
104104
/// </summary>
105105
/// <example>

0 commit comments

Comments
 (0)