specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
354 stars 166 forks source link

Convert revit converters to use proxies for unit testing DUI3-149 #3501

Closed adamhathcock closed 1 month ago

adamhathcock commented 1 month ago

https://spockle.atlassian.net/browse/DUI3-149

Revit types and proxies exist in new repo: https://github.com/specklesystems/speckle-sharp-host-apis types and proxies are consumed via Nuget (preview at the moment)

DI registration occurs with new facility to scan repo and add to Autofac as transient objects

Converter assembly only references interfaces New test assembly made which only references interfaces Connector assembly references APIs and Interfaces to glue together with DI

Future work: some clean up in the connector assembly image

Need to be careful to ensure no breaking. Probably around some casting?