Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DUI33 289 investigate and create versioning poc #7

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

BovineOx
Copy link
Collaborator

The first step with object upgrading had to be the (unexpected) act of excising Kits from the SDK. Most of Kits has now gone, what remains appears to be largely unrelated to kits.

Type Caching is now done with a new ITypeCache, an AbstractTypeCache and and ObjectsTypeCache. In theory, because this is injected down to Receive, it is possible to continue doing a kits like thing, by passing in a different TypeCache. By default the ObjectsTypeCache is caching all types that are derived from Base and found in the assembly where ObjectsTypeCache exists and the base, i.e. looking in Core and Objects. This might be something we can do a bit more elegantly but it's definitely no worse than existing.

Note that some changes may relate to working with the SDK and the connectors at the same time.

Ian Hawley added 2 commits July 2, 2024 19:31
…n if it exists

next steps:
- get the version from the commit
- pick a version to use if there isn't one...  what would this be? hmmm should be oldest version? want to avoid duplicating the world at this stage :D
- add in the conversion logic, registering the type upgrader and picking upgrades to return the actual type we want to load
- being passed along to Dict2Base() where it can be used to pick the right deserialisation target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant