Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new_data_update is not emitted when the change is a new key in the referenced path #3

Open
JapanYoshi opened this issue Dec 12, 2023 · 1 comment

Comments

@JapanYoshi
Copy link

I am using a reference to listen for changes in a path. However, the signal only fires when an existing path is edited, not when a new key is added somewhere.

Example data at the reference:

listenForMe: {
  items: {
    header: "test"
  }
}

A change that does NOT fire the event:

listenForMe: {
  items: {
    header: "test",
    p_0173: {
      title: "Test title",
      body: "Body text of the test post"
    }
  }
}

A change that DOES fire the event:

listenForMe: {
  items: {
    header: "testtesttest"
  }
}
@Overvault-64
Copy link
Owner

This is a known fact.
Atm, I don't really know how to deal with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants