Commit graph

14 commits

Author SHA1 Message Date
mariusor
0c3f57f637 Added IsNil function to assert to Object or ItemCollection before checking for nil values in Item interface 2021-02-02 14:18:16 +01:00
Marius Orcsik
15ac5c20c7
Updated OnX functions to apply the function on an item collection if that's what's being passed to it
This still has the downside that the collection might contain different types of objects

but I can't think of a better way to do it at the moment
2021-01-31 13:30:40 +01:00
mariusor
247f1fbf22 Removed flatten functionality from here 2021-01-13 10:52:50 +01:00
Marius Orcsik
c478a28268
Added some convenience functions for checking if an Item is an Object or an IRI 2020-12-31 10:37:05 +01:00
Marius Orcsik
2d67267157
Fixed ItemEquals for objects without a type
Added some test cases for ItemsEqual
2020-06-24 13:47:43 +02:00
Marius Orcsik
fac868b7c2
Added functionality for checking if objects are equal 2020-05-07 16:49:43 +02:00
Marius Orcsik
6e7676346e
Constants for nil IRI and ID 2020-03-31 13:45:24 +02:00
Marius Orcsik
4d5fd9ff2d
Making Collection,OrderedCollectin and Item array implement the ItemMatcher interface 2020-03-29 18:26:30 +02:00
Marius Orcsik
67aa065f9f
Some other places where we removed Object from names of things 2019-12-05 19:16:48 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
bd2b51124f
Some improvements to copying collection information 2019-12-05 16:41:53 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Marius Orcsik
d2d853feed
Move files to activitypub package 2017-09-12 10:31:45 +02:00
Marius Orcsik
51853428cb
Adding basic types for activity pub 2017-09-11 22:46:29 +02:00