-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
update coalesceFindRequests doc for JSONAPIAdapter #3770
Conversation
comments: [1, 2] | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind adding a new line after all these code block sections? The markdown parser for the api docs doesn't format these sections correctly without the new line to separate content after the code block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, sorry about that, I lost the newlines in copying and pasting.
Looks like travis is now complaining about trailing white space in the new docs. Do you mind fixing that and then squashing everything into 1 commit? |
Conflicts: packages/ember-data/lib/adapters/json-api-adapter.js
Still working on squashing the commits into one, made a mistake (still a little new to git) |
Conflicts: packages/ember-data/lib/adapters/json-api-adapter.js
Closing because I messed up the squashing so badly I don't know how to make it happen. :-) |
I noticed that the JSONAPIAdapter sends different query params then the RESTAPIAdapter, so took a stab at updating the documentation. I felt it was better to put the info in the json-api-adapter.js rather than putting a "if you're using JSONAPIAdapter" statement into the rest-adapter.js. I did override the coalesceFindRequests bool in json-api-adapter.js, but let me know if this is not the desired way to do things at this point.