Closed warriordog closed 1 year ago
This is the underlying issue with most of the remaining test failures
This is due to ASType being abstract. TypeMap doesn't know how to create a derived non-abstract type to get an instance of ASType, so we may just need to remove all abstract types from the Type inheritance tree.
Better idea - we can just special-case ASType by constructing any other type.
so this is separate from the ASType issue - I think its because the more-narrow subtype actually excludes the more generic one. I think we need to flip that logic a bit.
Fix. Down to just 9 failing tests!
Several of these tests are failing with this error:
System.InvalidCastException: Can't represent the graph as type ActivityPub.Types.AS.ASActivity
Need to diagnose and fix the problem. Most likely is an issue with the Type / Entity mapping