Commit graph

9 commits

Author SHA1 Message Date
Marius Orcsik
5fd333bcd1
Export types for function parameters required by the OnXXX utility functions 2021-07-21 18:38:41 +02: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
Marius Orcsik
e0b519daad
Improved reflection based type conversion for collection types
This avoids some panics when the types are not compatible

I added tests for On*Collection* with all collection types
2020-08-30 16:03:34 +02:00
Marius Orcsik
48db6d24ad
Renamed OnPerson to OnActor 2019-12-03 21:53:11 +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
61e8d43a6c
Fix forgotten activitystreasm.Objects in functions signatures passed to ToObject 2019-09-24 09:58:10 +03:00
Marius Orcsik
1c9ce8dc10
Added ToX functions for Collection types 2019-08-21 22:32:53 +02:00
Marius Orcsik
585b5f048f
Added more OnX functions 2019-08-20 22:02:37 +02:00
Marius Orcsik
152c99eba3
Added some OnX functions to allow code execution in the context of converting an Item to X transparent to the developer 2019-08-20 21:43:36 +02:00