Skip to main content
1-Visitor
Question

Service for Inserting a service into entities

How can i go for duplicating a service of a specific thing inside other entities like things or thing templates?

8 replies

22-Sapphire I

I'm not sure why you need to duplicate a service.

You could just create a central helper Thing with services and then invoke that service from the other Entities.

Especially if it is doing the same evaluation.

Translate
12-Amethyst

Why not implement the shared service in a ThingShape and both entities will implement that shape?

Translate
muzzammil1-VisitorAuthor
1-Visitor

@ashaban Thank you. I hope this will help me

Translate