Better wording for restricted attributes of light services (#1370)

"None of these attributes is required" implies that those attributes can be specified for light services and also that they are required for non-light services
This commit is contained in:
Vojtěch Balík 2024-10-01 13:42:26 +02:00 committed by GitHub
parent a467700616
commit f437d26cd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ The service instance will be created in scope according to the caller (see [](#r
### Light Service Restrictions
* None of these attributes is required: `os`, `client`, `overrides`, `id`, `preload`.
* None of these attributes is allowed: `os`, `client`, `overrides`, `id`, `preload`.
* Service class must be `final`.
* [Constructor injection](#ctor) of dependency services is not supported.
* If application-level service is a [PersistentStateComponent](persisting_state_of_components.md), roaming must be disabled (`roamingType = RoamingType.DISABLED`).