We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f01e8d commit 63614c7Copy full SHA for 63614c7
2 files changed
src/xapi_schema/spec.cljc
@@ -1326,13 +1326,8 @@
1326
(some-> s :statement/object :statement-ref/objectType)
1327
true)))))
1328
1329
-;; Statement batches in general, e.g. when being inserted into an LRS, should
1330
-;; allow empty arrays.
1331
-
1332
-;; Statement batches being retrieved from an LRS should always be non-emtpy.
1333
1334
(s/def ::statements
1335
(s/coll-of ::statement :into []))
1336
1337
(s/def ::lrs-statements
1338
- (s/coll-of ::lrs-statement :into [] :min-count 1))
+ (s/coll-of ::lrs-statement :into []))
test/xapi_schema/spec_test.cljc
@@ -636,5 +636,4 @@
636
(testing "LRS retrieval statement batch"
637
(should-satisfy+ ::xs/lrs-statements
638
[d/statement] ; This statement has ID and other required fields
639
- :bad
640
[])))
0 commit comments