RegisterFactory adds a custom observer factory to the global registry. A custom observer can be accessed via Configuration.MakeObserver or via RegisterWithJSON. FactoryFunc can be anything, validation or modification, logging, etc.
(typeName string, fn FactoryFunc)
source not stored for this graph (policy: none)