-
Notifications
You must be signed in to change notification settings - Fork 63
fix(so-classes): Store SO classes in config.json #955
Conversation
@@ -47,7 +47,7 @@ export class AccountTagService implements EntityTagService { | |||
return `${this.keys.sshDescription}.${sshKey.fingerprint}`; | |||
} | |||
|
|||
public writeTag(key: string, value: string): Observable<string> { | |||
public writeTag(key: string, value: string): Observable<any> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zolotyx I replaced string with any, because TagService.writeTag returns TagService.update(entity: any, entityName: string, key: string, value: any): Observable<any>
. This method is normally used in different methods, which return Observables of different objects, not only strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ksendart , but tag service always returns string values of the tag. Or not? Can we change TagService.update signature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zolotyx TagService.update accept entity: any
returns newEntity - object with new tags
attribute.
#950