Skip to content
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

Documentation for alternative root in data #104

Open
dylans opened this issue Feb 25, 2015 · 3 comments
Open

Documentation for alternative root in data #104

dylans opened this issue Feb 25, 2015 · 3 comments

Comments

@dylans
Copy link

dylans commented Feb 25, 2015

One thing that seems to throw beginners is how to specify an alternative root to use for their data structure, as all of our examples show just pointing at data.

The obvious example is to show that instead of pointing at a data object, you could point to data.foo.bar.

Some other projects make this easier to specify by having a root property that you can define, though I'm not convinced we really need that, but I mention it as some people coming from other projects look for the dstore equivalent.

@kfranqueiro
Copy link
Contributor

@kriszyp, I assume this should be reopened? I think you referenced the wrong issue in a commit.

@kriszyp kriszyp reopened this Apr 18, 2015
@kriszyp
Copy link
Contributor

kriszyp commented Apr 18, 2015

Yes.

@kfranqueiro
Copy link
Contributor

Given that people often have to work with services they don't have direct control over, being able to tell Request a property to look for data in, as well as an alternative property other than total (which is currently hard-coded) to look for a total number of results in, would be pretty useful. As it is, you'd currently have to either hook up a request provider or do some onerous dancing around with extending _request to accomplish it.

I could add this as a separate issue / feature request, but it's directly related to the documentation being asked for - and basically my TL;DR is it'd be easier to document if we made it easier to actually do, first.

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

No branches or pull requests

4 participants