mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
abc794c966
JSON-API specifies that multiple resources should be fetched with a comma-separated list of IDs, i.e. discussions/1,2,3,4. But this is problematic because if we do a findQuery with only one ID, then a single object will come back from the API where the serializer is expecting an array containing a single object. Instead, I’ve just implemented an ids “filter” on the discussions index API route (which is the default way that the adapter finds multiple IDs.) |
||
---|---|---|
.. | ||
app | ||
config | ||
public/avatars | ||
tests | ||
.bowerrc | ||
.editorconfig | ||
.ember-cli | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
bower.json | ||
Brocfile.js | ||
package.json | ||
testem.json |