Questions tagged [aurelia-breeze]

Aurelia-breeze is a plugin for the Aurelia framework. It's goal is to make using Breeze with Aurelia as seamless as possible.

What's included:

  1. An adapter for observing Breeze entities.
  2. A Breeze ajax adapter that uses Aurelia's http-client.
  3. A light-weight substitute for Breeze's dependency on Q that uses ES6 promises.
  4. Automatic form validation for Breeze entities. Info here.
6 questions
1
vote
1 answer

Unit Test Breeze calls for Aurelia

I have converted my fetch calls to use breeze.EntityQuery but how can I write my unit tests to mock the breeze client? Here is my code for the unit test fetch call that I'm trying to write for breeze. class HttpStub { fetch(url) { var…
nswilhelm
  • 102
  • 1
  • 9
0
votes
0 answers

Implement aurelia + breeze + validation?

Have any of you implemented aurelia + breeze + validation? Is there an example available? When I implement only the breeze it validates, but does not show errors (in release 1.0.0 show errors but dont in last realase (2.2.0) the feature was removed)…
0
votes
1 answer

Breeze's errorCallback function is never called

If I call a web API method (which throws an exception) using breeze's executeQuery method (Breeze version is 1.6.3), the errorCallback function is never called. var eq = new breeze.EntityQuery('TestError'); manager.executeQuery( eq, …
Mirko Lugano
  • 975
  • 1
  • 11
  • 26
0
votes
1 answer

Durandal composing same view in foreach

I have to compose same views in a hierarchy. Parent - Child1 - Child2
0
votes
1 answer

Can you reconcile an import statement using jspm alias vs importing the same package using the npm package name that webpack requires

Question: If you have a package that imports a jspm alias that is different from the npm package name is there a way to use the same package installed via npm where the import statement would need to be changed from the jspm alias name to the npm…
dan
  • 2,857
  • 6
  • 34
  • 60
0
votes
0 answers

aurelia-breeze validation with custom elements

NOTE: This scenario is the same as the one from this question: Data binding parent-child relationships in Aurelia The Code: usage:
Vaccano
  • 78,325
  • 149
  • 468
  • 850