Skip to main content
1-Visitor
April 2, 2019
Question

Service for Inserting a service into entities

  • April 2, 2019
  • 1 reply
  • 1990 views

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

1 reply

22-Sapphire I
April 2, 2019

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.

12-Amethyst
April 3, 2019

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

muzzammil1-VisitorAuthor
1-Visitor
April 3, 2019

@ashaban Thank you. I hope this will help me