v2.3.0
- Massive overhaul of mock GET request Handlers
- renamed
andReturns()
method toreturns()
- Now have consistent
returns()
method for each one- taking models, model, json, ids, id, or headers as options
- deprecated returnsJSON, returnsModels, returnsIds
- deprecated handle names for mock names
- Added mockQueryRecord
- Many of the ideas inspired by @xcambar from ideas in #157, #158, #159
- renamed
- renamed andFails to fails
- can now import
mockFind
,mockFindAll
... etc methods from 'ember-data-factory-guy' top level import - use
get()
method to unwrap json make with build, buildList- used to be called
unwrap()
- More big thanks to @migbar for the help on this featuer
- used to be called
- can now get access to mock handler being used by mockjax from mock object
READ the new documentation .. so much has changed, hard to list it all:
Biggest changes here: