Skip to content

Commit b9bab1f

Browse files
authored
Merge pull request #507 from JLedel/506-put-computed-values
Fixes #506 It should be possible to update the computed values when updating a collection
2 parents a5ce9f6 + 5b14fb3 commit b9bab1f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

arangodb-net-standard/CollectionApi/Models/GetCollectionPropertiesResponse.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public class GetCollectionPropertiesResponse
107107
/// </summary>
108108
public CollectionSchema Schema { get; set; }
109109

110+
/// <summary>
110111
/// A list of computed values configured for the
111112
/// collection.
112113
/// </summary>

arangodb-net-standard/CollectionApi/Models/PostCollectionBody.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public class PostCollectionBody
150150
/// </summary>
151151
public CollectionSchema Schema { get; set; }
152152

153+
/// <summary>
153154
/// Optional. A list of computed values.
154155
/// </summary>
155156
public List<ComputedValue> ComputedValues { get; set; }

arangodb-net-standard/CollectionApi/Models/PutCollectionPropertyBody.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace ArangoDBNetStandard.CollectionApi.Models
1+
using System.Collections.Generic;
2+
3+
namespace ArangoDBNetStandard.CollectionApi.Models
24
{
35
public class PutCollectionPropertyBody
46
{
@@ -53,5 +55,10 @@ public class PutCollectionPropertyBody
5355
/// The collection level schema for documents.
5456
/// </summary>
5557
public CollectionSchema Schema { get; set; }
58+
59+
/// <summary>
60+
/// A list of computed values.
61+
/// </summary>
62+
public List<ComputedValue> ComputedValues { get; set; }
5663
}
5764
}

0 commit comments

Comments
 (0)