question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow nested dependencies

See original GitHub issue

I am very excited with this software and am already spreading the word, however, I would like to have support for nested properties when specifying DependsOn and AlsoNotifyFor attributes, like this:

public Card SelectedCard { get; set; }

[DependsOn("SelectedCard.Name")]
public string SomeProperty { get; set; }

Here, when SelectedCard’s name property gets changed, it will also change SomeProperty property. Note that type Card already has its ImplementPropertyChanged attribute defined.

The above must work vise versa if AlsoNotifyFor attribute is used instead.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:18
  • Comments:32 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
SimonCroppcommented, May 26, 2017

sorry nested change tracking is beyond the cope of this project.

3reactions
Shiloovrcommented, Jun 28, 2016

Hi, I just joined the request of AgentFire and I am certain that many encountered this need. I think you did an amazing job. I use your library in any of my projects. As AgentFire pointed out is really very necessary! This addition will make the perfect solution! Today, I had to use the binding mechanism to implement the solution. But this is not an elegant solution because it allows only working with objects FrameworkElement. I do not speak English. I used Google translation. Hope is understandable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overriding nested dependencies in NPM
With the release of npm 8.3, an overrides attribute has been added to solve this problem and allow overriding of nested dependencies in...
Read more >
how can I force npm 3 to install nested dependencies?
You'll only see modules nested underneath one another when two (or more) modules have conflicting dependencies.
Read more >
Nested Dependencies in Frontend
Now we can understand what node's nested dependencies are. Every module can have it's own node_modules directory, ad nauseum, and imports ...
Read more >
How to override your dependency's dependencies (Node.js)
Override and enforce dependency versions using npm "overrides". ... There hasn't been an easy way to control nested dependency versions down ...
Read more >
Sub-dependencies - FastAPI
You can create dependencies that have sub-dependencies. ... and allows you to declare arbitrarily deeply nested dependency "graphs" (trees).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found