# Problem tracking nested structure

**URL:** <https://meta.discourse.org/t/problem-tracking-nested-structure/320886>\
**Category:** Development\
**Created:** [August 9, 2024, 12:12pm UTC](https://meta.discourse.org/t/problem-tracking-nested-structure/320886 "2024-08-09T12:12:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [August 9, 2024, 12:12pm UTC](https://meta.discourse.org/t/problem-tracking-nested-structure/320886/1 "2024-08-09T12:12:57Z")

</div>

I’m inserting a Glimmer component in `topic-above-footer-buttons`. This Glimmer component attempts to show some metadata about the topic. I am serializing these to `topic.my_metadata`

When the metadata is updated from a background job(!), the topic refreshes via `MessageBus.publish("/topic/#{topic.id}", { reload_topic: true, refresh_stream: true })`

Now this correctly updates in the template:

`{{this.args.topic.my_metadata.status}}`

However, when I access it via a getter

```plaintext
get statusMessage() {
  return this.args.topic.my_metadata.status;
}

```

then

`{{ this.statusMessage }}`

does not update.

(And the same goes for all getters that I have that depend on `this.args.topic.my_metadata` in any way. Which is the actual problem).

What am I doing wrong?

I’ve already tried a lot, including defining custom events, copying `topic.my_metadata` to a `@tracked metadata` and then using `this.metadata`, etcetera.

---

_[View the full topic](https://meta.discourse.org/t/problem-tracking-nested-structure/320886)._
