frintjs / frintjs/frint

Proposal: frint-data interop with Observable.from

Open
#394 0 comments 1 reaction 0 assignees View on GitHub
good first issue help wanted proposal
Dominant language
JavaScript
Stars
756
Forks
33
PR merge metrics
No merged PRs in 30d

Description

## Currently

With `frint-data`, Models and Collections can be observed via `.get$()`:

```js
const todo$ = todo.get$();
```

## Proposal

As it is done for `frint-store` via #393, it would be useful to make them interoperable with `Observable.from` as per the spec on TC39: https://github.com/tc39/proposal-observable#observablefrom

```js
const todo$ = Observable.from(todo);
```

Contributor guide

Open the contributing guide

Research direction

Review the existing frint-store interoperability work in #393, then inspect how frint-data Models and Collections expose .get$(). Compare the integration with the TC39 Observable.from specification; done means Observable.from(todo) works for both Models and Collections.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.