1. BreezeJS Feature Suggestions

Help us make Breeze.js better by letting us know what you’d like to see next.

Suggest new features, vote on existing ones, or fork Breeze in GitHub and send us a pull request.

  1. EntityQuery.withParameters to inject variables into resource name

    Much like it injects querystring parameters to the request using the object passed to it - it would be nice if it could first look for replacement tokens in the resourceName property of the query.

    for example:

    var qry = breeze.EntityQuery
    .from("Studies/{StudyID}/Sites/{SiteID}/People")
    .withParameters({StudyID: 123, SiteID: 555});

    instead, currently, I am doing this:

    var resourceName = String.format("Studies/{0}/Sites/{1}/{2}", pStudyID, pSiteID, referralName.APIName);
    var query = breeze.EntityQuery.from(resourceName);
    ....

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. Fire event on metadata FETCHING (not just fetched

    There is a helpful event for metadataFetched. However, it would be even more helpful to also add an event right BEFORE the metadata request is sent out.

    My use case for this is I am showing textual progress updates on screen, and I would like to update the message when metadata is fetching. I can use the "Fetched" event to show that we are done, but would need a "Fetching" event to indicate when we start.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  3. Integrate Breeze with Salesforce

    Smooth the integration process for companies who'd like to incorporate Breeze into their Salesforce deployments.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. I still cannot find a good example of querying locally...

    it's the only reason left to continue with Breeze...and we can't get it to work without defining our own type. I looked through the sample code you have and there isn't an example with local querying.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Specify the version of Express to install in the Zza Example

    Express v4 differs a bit and will not work with the Zza Example. One recommendation would be to change the instructions until the express code is updated to: npm install express@3.5.1

    Once the code is updated to support Express v4, remove that specific version from the instructions.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. Can anyone give me Tutorial 1 - Queries - w/Angular full code please

    Can anyone give me http://learn.breezejs.com Tutorial 1 - Queries - w/Angular full code
    As im a beginner. i need the full functional code that i can run locally the same sample application
    please help me

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  7. fix the region resizer in Chrome (v32.0.1700.107 m)

    The resizable areas are broken in Chrome. When I pull the vertical bar to the right, the left regions do not resize.

    When I pull the horizontal bars down, it doesn't detect the mouseup event, so the bar stays stuck to my mouse cursor.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. Improve mobile experience on the website

    The code samples appear to be fixed width and are difficult to view from iOS devices like the iPhone 5

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Not always best to filter and sort on the client.

    I am going through this tutorial and saw the statement: "Aside from granting the client more flexibility for free, this approach also performs much better. The client-specified filtering, ordering, paging, and expand will execute on the data tier, not on the server tier.".

    I am working on porting applications that may contain thousands, if not millions, of records in a table. I know from experience that filtering, ordering and paging of such large tables need to be done on the database server before being sent anywhere else, or performance goes through the floor. I also have used stored procedures with…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  11. Breeze with Grid

    Please show us how to use Grid to manage breeze entity. I always run into an issue when i want to use breeze with grid, most especially when it has to do with changing and updating the entity. There is always an error flag: Converting circular structure to JSON but when entityAspect is excluded from the entity, this error goes away. Thanks

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. give the user more control over the saving process

    please add a constructor to the entityInfo class. my business logic can not be implemented without changing the save Map by replacing entity.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. TypeScript breeze.d.ts: ValidatorFunction should return boolean

    The current breeze.d.ts file says:

    interface ValidatorFunction {

        (value: any, context: ValidatorFunctionContext): void;
    
    }

    Since a value can be either valid or invalid (true or false) in my opinion this should be a function returning a boolean. Also, the context parameter in the Validator constructor can be empty so it would be better if "context" is an optional parameter.
    And: the "message" part of the ValidatorFunctionContext is declared as "string" but can be a function also and "any" would be correct.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. In step 2of6, the statement, "the code in the then block is the Promise," seems wrong; "then" is on the Promise returned by executeQuery

    (didn't know a description was available, refined by thoughts in the title already. Perhaps a better indicator of the presence of a description box is in order.)

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. Enabling basic configuration of batch requests........

    So if a POST request is sent to http://localhost:8081/odata/$batch,
    Then the internal batch request wont "magically" remove "odata" path inside content (why???):
    POST http://localhost:39996/odata/$batch HTTP/1.1
    Host: localhost:39996
    Connection: keep-alive
    Content-Length: 570
    Accept: multipart/mixed
    MaxDataServiceVersion: 2.0
    Origin: http://localhost:9000
    DataServiceVersion: 2.0
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
    Content-Type: multipart/mixed;boundary=batch_be08-c15d-f578
    Referer: http://localhost:9000/
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8,en-GB;q=0.6

    --batchbe08-c15d-f578
    Content-Type: multipart/mixed; boundary=changeset
    5551-523b-8701

    --changeset_5551-523b-8701
    Content-Type: application/http
    Content-Transfer-Encoding: binary

    POST Products HTTP/1.1
    Content-ID: 1
    DataServiceVersion: 2.0
    Accept: application/atomsvc+xml;q=0.8, application/json;odata=verbose;q=0.5, /;q=0.1
    Content-Type: application/json;odata=verbose
    MaxDataServiceVersion: 2.0

    {"ProductId":-1,"Name":"MyProduct","Description":"MyDescription"}
    --changeset_5551-523b-8701--

    --batch_be08-c15d-f578--

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  17. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. Integrate with for SAP's OpenUI5 (http://sap.github.io/openui5/)

    OpenUI5 has good support for binding to data, however, it doesn't appear to have a library for easily accessing/changing individual values in a collection of data stored in a model.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. Fix the docs for 'inside-entity'

    I believe that where it says

            todo.entityAspect.rejectChanges();
    

    half way down the page it should say

            todo.entityState.rejectChanges();
    

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  20. Use partial classes to breakdown a BreezeController into multiple files

    With RIA Services, a handy technique for large systems with lots of server side customizations was to break down the DomainService into multiple classes using a partial class. In Breeze when I break down the BreezeController into multiple files with the same partial class, then route resolution fails saying that multiple classes fulfill the same route.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

1. BreezeJS Feature Suggestions

Categories

Feedback and Knowledge Base