Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

BREAKING CHANGE: search now resolves with object containing articles and... #54

Merged
merged 3 commits into from
Oct 17, 2014

Conversation

aintgoin2goa
Copy link

... facets

This is so I can use the list of facets in search filters. Also, we may need other kinds of metadata in the future.

@@ -0,0 +1,8 @@


function Facet(name, count){
Copy link
Member

Choose a reason for hiding this comment

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

I'd only build a model around something that needs it - Eg, transforming the data in someway. This isn't Java :)

Sometimes elements.push({ name: 'foo', count: 123 }); might do ?

Copy link
Author

Choose a reason for hiding this comment

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

fair point - done.

aintgoin2goa added a commit that referenced this pull request Oct 17, 2014
BREAKING CHANGE: search now resolves with object containing articles and...
@aintgoin2goa aintgoin2goa merged commit 6eefd87 into v3 Oct 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants