Skip to content

Releases: hinthealth/facade

Update Dependencies

15 Oct 00:45
Compare
Choose a tag to compare

createDefault can now be taken in the options.

04 Feb 23:30
Compare
Choose a tag to compare
Now create default can be taken in the options of Facade, rather

than only added later.

Initialize now clears things out before hand.

27 Jan 22:13
Compare
Choose a tag to compare

Doesn't exactly stop a bug, but if a previous test failed, and the afterEach failed to run, then the Facade would throw an error saying "X resource already exists, please rename it". But this wasn't really the case, it was just that initialize got called twice in a row, when it shouldn't have.

Added patch route creation

24 Jan 02:19
Compare
Choose a tag to compare
0.4.6

Added "PATCH" route creation, cuz it should be there.

Nested resource bug

23 Jan 23:06
Compare
Choose a tag to compare
Fixed a bug where nested resources weren't getting added to the

official resource list.

Bug fix on creating item routes.

19 Jan 06:38
Compare
Choose a tag to compare
0.4.3

Fixed bug so custom item routes are created correctly

Fixed bug about sending request data so it's already parsed.

19 Jan 05:00
Compare
Choose a tag to compare
0.4.2

Fixed bug so that request data is always passed as an already parsed …

Bug fix

19 Jan 04:29
Compare
Choose a tag to compare

Now custom routes on collections won't accidentally get created for items that are added after the fact.

Added regex functionality to routes

19 Jan 04:12
Compare
Choose a tag to compare
  • Added regex functionality, and now requires custom routes to have callbacks that return a standard angular response thing.

Improvements

17 Jan 01:17
Compare
Choose a tag to compare
  • Facade's definition now takes a callback which is run each time on initialize. This helps to make sure everything is fresh each time.
  • Now add multiple items at once.
  • Now have expectations! With loose expect matchers.
  • Now can have a createDefault function so post requests can get handled in a smoother way.