I know the title is not clear, i didn't know what to type in this limited size description. Let me explain.
Already in a lot of cases we want to define a filed in a template schema that reference to another service name, we work around this by setting it up to a Text filed and then validate that the service exists in the validate method.
May be we can have a better definition of this field by introducing a new type that can be imported from zrobot
Issue migrated from [https://api.github.com/repos/zero-os/0-robot/issues/103](), opened by @muhamadazmy
I know the title is not clear, i didn't know what to type in this limited size description. Let me explain.
Already in a lot of cases we want to define a filed in a template schema that reference to another service name, we work around this by setting it up to a
Text
filed and then validate that the service exists in thevalidate
method.May be we can have a better definition of this field by introducing a new type that can be imported from zrobot
Example:
Once a schema is defined this way, 0-robot can take extra step to validate that the given account is a valid name to a service of the given
uid
.