Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

config onDidChange does not return keypath in event #7918

Closed

Description

Activity

  1. abe33 commented on Jul 16, 2015

    @abe33
    Contributor
  2. jamesgpearce commented on Jul 17, 2015

    @jamesgpearce
    Author

    OK, tagged documentation but I think the path would be pretty interesting. Or is there a reason why it can't be surfaced?

  3. benogle commented on Jul 17, 2015

    @benogle
    Contributor

    cc @nathansobo I cant remember if we took the keyPath out? I remember having a discussion about it.

  4. nathansobo commented on Jul 27, 2015

    @nathansobo
    Contributor

    My memory is a bit fuzzy, but I think the reason is that we wanted to encourage people to observe a specific key path, which made supplying the key path redundant.

  5. maxbrunsfeld commented on Jul 27, 2015

    @maxbrunsfeld
    Contributor

    Yeah, you are now always observing a specific key-path. If you don't pass a key-path, you are observing the empty key-path (the entire object). The oldValue and newValue always represent the values of the key-path that you're observing. So it doesn't really make sense to pass a key-path any more.

    So we should change the docs.

  6. added a commit that references this issue on Oct 28, 2015
    65492ea
  7. lock commented on Jan 19, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  8. locked as resolved and limited conversation to collaborators on Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions