Provide backbone-defined valid tags for Attributes#307
Conversation
|
You can already review. The backbone route is not yet finished, so this PR will still be a draft |
|
Getting the list of valid tags doesn't really require being logged in, on the other hand they're only supposed to be used for attributes which currently can only be shared between Identities. So I think it's ok that they require a login. But I'd expect that the list is not fetched from the backbone every time you want to do something with a tag (which is often), but rather that the backbone sends the list whenever it is changed (e. g. via an event) and it's then stored locally. |
|
on a second thought: the tag list is only required when creating or receiving an attribute with tags or when changing tags. I'm not sure where this falls regarding storage vs. no storage |
|
I'll not review a Draft. Please re-assign when finished. |
packages/runtime/src/extensibility/facades/transport/TagsFacade.ts
Outdated
Show resolved
Hide resolved
876cf62 to
d8f5f70
Compare
packages/consumption/src/modules/attributes/AttributesController.ts
Outdated
Show resolved
Hide resolved
packages/consumption/src/modules/attributes/local/AttributeTagCollection.ts
Show resolved
Hide resolved
packages/runtime/src/useCases/consumption/attributes/GetAttributeTagCollection.ts
Outdated
Show resolved
Hide resolved
packages/consumption/test/modules/attributes/AttributeTagCollection.test.ts
Outdated
Show resolved
Hide resolved
Milena-Czierlinski
left a comment
There was a problem hiding this comment.
LGTM
@jkoenig134 Do you want to take another look?
|
@sebbi08 now the things in transport are also named If that's undone I will do another review. |
Readiness checklist