blob: fe38e87a1f55b8e4322431c4f03fd2ac79ba7766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
## Steps to add support for new types
* Add new type to applicationdomaintypes.h and implement `getTypenName()`
* Implement `TypeImplementation<>` for updating indexes etc.
* Add a type.fbs default schema for the type
## Steps for adding support for a type to a resource
* Add a TypeAdaptorFactory, which can either register resource specific mappers, or stick to what the default implementation in TypeImplementation provides
* Add a TypeFacade that injects the TypeAdaptorFactory in the GenericFacade
* Register the facade in the resource
* Add synchronization code that creates the relevant objects
|