Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RxState: additional connect-overload  #1632

Copy link
Copy link
Open
@michaelbe812

Description

@michaelbe812
Issue body actions

Problem Solved By The Feature

Less Code needed to connect partial state observables. The current way is to call multiple times connect:

connect('a', a$)
connect('b', b$)

Solution

I would like to add this overload to connect:
connect(object: Partial<{ [P in keyof T]: Observable<T[P]> }>): void;

With this overload one could just do connect({a: a$, b: b$})

Wdyt? If you like this feature request I would be happy to contribute the implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.