Skip to content
New issue

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

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

Already on GitHub? # to your account

Make self rels a resource level function call #2

Open
ifandelse opened this issue Nov 10, 2014 · 1 comment
Open

Make self rels a resource level function call #2

ifandelse opened this issue Nov 10, 2014 · 1 comment
Assignees

Comments

@ifandelse
Copy link
Contributor

@dcneiner's great suggestion:

board.self({ id: 101 }); should just be board({ id: 101 });

@ifandelse ifandelse self-assigned this Mar 11, 2015
@ifandelse
Copy link
Contributor Author

@arobson The ideas I spiked out earlier today worked to a limited degree, but I'm going to start over with a better (hopefully) approach. Turning resources into functions is, IMO, a great idea, BUT it will break a ton of our tests that are doing deep equal comparisons on objects at the moment. I'd like to have this in for v0.1, but will take me a couple of days at least.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants