We decided in T285453 that it does not make sense for FederatedPropertyId to extend PropertyId. In T286367 we stumbled upon the first service interface that type hints PropertyId (PropertyDataTypeLookup) which does not work with FederatedPropertyId as it is.
We identified the following options for now:
- Make FederatedPropertyId extend PropertyId after all
- Change all Property-specific service to instead type hint the common parent type, i.e.EntityId
- Make PropertyId an interface, rename the "old" PropertyId to LocalPropertyId (?) and make FederatedPropertyId and LocalPropertyId both implement that interface (and also cry because of all the files that would need changing)