Skip to content

Conversation

@jmfrancois
Copy link
Contributor

@jmfrancois jmfrancois commented Feb 15, 2018

What is the problem this PR is trying to solve?

We have no common expressions related to cmf so we must write code

What is the chosen solution to this problem?

provide default expressions:

  • cmf.collections.get
  • cmf.components.get

TODO: Wait for #1055 to register in api.registerInternals();

Please check if the PR fulfills these requirements

  • The PR commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Related design / discussions / pages (not in jira), if any, are all linked or available in the PR

[ ] This PR introduces a breaking change

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

);
}

export default curry(getInState);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This super selectors seems odd and a little bit complex.
I have imagined selectors to be more precise (collectionSelectors, componentSelectors etc).
Not a big fan of this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first version was written this way and we add exactly the same code with just 'collections' and 'components' difference.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you think immutable.js is and odd name for a file ?
It can be misleading and confusing with the library immutable.

);
}

export default curry(getInState);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you think immutable.js is and odd name for a file ?
It can be misleading and confusing with the library immutable.

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Collaborator

:octocat: Demo is available here

@jmfrancois jmfrancois merged commit 1b8cefa into master Feb 21, 2018
@jmfrancois jmfrancois deleted the jmfrancois/feat/cmf/add-expressions branch February 21, 2018 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants