Skip to content

Comments

Add an ability to copy the value from Observable without having to access it first#35

Open
Mattijah wants to merge 1 commit intoslazyk:masterfrom
Mattijah:master
Open

Add an ability to copy the value from Observable without having to access it first#35
Mattijah wants to merge 1 commit intoslazyk:masterfrom
Mattijah:master

Conversation

@Mattijah
Copy link

@Mattijah Mattijah commented Sep 6, 2017

Currently when copying values (let's say between models), we always need to access them.

Example:

model.name.value = diffModel.name.value
model.name <- diffModel.name.value

// or shorthand
model.name <- diffModel.name^

The improvement allow use to do this:

model.name <- diffModel.name

There is no need to access the value of the Observable and since we use <- operator this action seems to be also pretty clear (unlike =).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant