Skip to content

[Feat] query non indexed fields #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 18, 2020
Merged

Conversation

SebastienElet
Copy link
Contributor

The goal of this PR is to allow to pass filters like :

'nested.params': {
  k: 'a',
  v: 1,
}

Bonus :

  • Tweak eslint rules
  • Add prettier config

var filterValue = filtersParams[filterKey];
const filterPath = filterKey.split('.');
const resourceValue = path(filterPath, resource);
const filterValue = filtersParams[filterKey];

return angular.isArray(filterValue)

Choose a reason for hiding this comment

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

I find double ternary a little nightmare to understand in my opinio 🐙

@SebastienElet SebastienElet merged commit 0d812df into master Mar 18, 2020
@SebastienElet SebastienElet deleted the feat/query-nonindexed-fields branch March 18, 2020 10:55
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.

3 participants