warriordog / ActivityPubSharp

Modular implementation of ActivityPub in C#
https://warriordog.github.io/ActivityPubSharp/
Mozilla Public License 2.0
45 stars 10 forks source link

Rebuild TypeInfo + related caches to support new type model #78

Closed warriordog closed 1 year ago

warriordog commented 1 year ago

Design and build new TypeInfo cache. Ideally, we can make the entire conversion process fully generic like JsonPropertyInfo. That opens up the possibility of using Static Virtual Interface Members to avoid some reflection.

Additional work merged from #51: AS types should be compared with exact case. An older version of this code was incorrectly case-ignorant, and some vestiges of that still remain. Everything should be fixed to be case-sensitive, with tests to verify this behavior.

More info: https://github.com/warriordog/ActivityPubSharp/issues/74#issuecomment-1660685784

warriordog commented 1 year ago

Converted from a research story into regular work item

warriordog commented 1 year ago

Think I need to do this backwards - rebuild ASTypeConverter and see if we can keep it generic all the way through. Will work along with #79.

warriordog commented 1 year ago

Actually, I'm just going to roll this into #79.