Community
Participate
Working Groups
Many of the services that form Sapphire API fall in the category of providing data (as opposed to operations). For these data services, a pattern has emerged that captures a way to handle caching computation of this data and handling listening/refresh. This pattern is currently manually replicated among various services such as EnablementService. Rather than continuing this way, we should extract this pattern into a common base class... DataService.
Defined DataService as the common base for all such services and converted the following list of services to use this common base. There are other services that should probably be made data services, but this will do for now. DefaultValueService DependenciesAggregationService DependenciesService DerivedValueService EnablementService FileExtensionsService ImageService InitialValueService JavaTypeConstraintService PossibleTypesService
Verified the class hierarchy of the generic Service class and their usage in Sapphire samples and our internal Sapphire adopter product.