Skip to content

Version 1.0.0+ expected Informer regression? #2448

Open
@WeetA34

Description

@WeetA34

Describe the bug
Starting client 1.0.0, I noticed two things which have been reverted to a 5/6 years old versions:

  • the informer interface doesn't "support" anymore ErrorCallback for on/off("connect", ...) and on/off("error", ...)
  • the makeInformer function returns an Informer<T> instead of Informer<T> & ObjectCache<T>

Both things above have been introduced 3 years ago.
So, i was wondering if it's expected to have reverted these to an old version?

version 0.22.3

Image

version 1.0.0+

Image

Thank you

Client Version
1.0.0+

Server Version
N/A

To Reproduce
N/A

Expected behavior
Same behavior as 0.22.3

Example Code
N/A

Environment (please complete the following information):

  • OS: N/A
  • Node.js: N/A
  • Cloud runtime: N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions