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. Provide a link to WinJS

    Remove the need for jQuery and Knockout by linking it to WinJS ajax system and WinJS binding system.

    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. 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 →
  3. breeze.js createError function can't handle datajs errors

    My ODataController Post method was updating its entity's CreatedOn property with DateTime.Now value before it's saving to database.

    Apparently datajs doesn't like DateTime.Now value and gives an error with "Invalid date/time value".

    File: datajs-1.1.2.js - Line 2133

    After datajs throws the exception, it falls to breeze.js createError function. However, since it's expecting error.response property, it fails to continue by giving "response is undefined" message.

    File: breeze.debug.js - Line: 15302

    I've updated the function by adding a check for response property;

    function createError(error, url) {

        // OData errors can have the message buried very deeply - and nonobviously
    
    // this code
    11 votes
    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 →
  4. 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. BreezeJS and Moongose

    Hi All,

    I am new to MEAN stack, I am to easily for Moongose based apps and developed rapid prototypes in less than 30 mins, but with Zaa example even though I can run the sample in 10 mins. The concept of metadata generation with respect to MEAN stack very confusing, where as for .NET MVC example I can easily understand.

    12 votes
    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. Flag which navigation properties have been loaded

    It's currently not possible to determine if a navigation property has been loaded.

    For example a order.orderLines. There is no way of knowing whether orderLines is empty because the order has no lines or that the navigation property has been loaded.

    This is a real pain when you have business logic that require the object graph to be loaded. This leads you to implement boiler plate data access related code to manually track which navigation property has been loaded - something that the breeze framework should be doing.

    This feature has been asked for on SO here: http://stackoverflow.com/questions/17798514/any-way-to-tell-if-a-breeze-navigation-property-has-already-been-loaded

    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 →
  7. Breeze + Knockout validation -> new features

    If App uses breeze and ko validation, I suggest to

    add knockout validation rules for every fetched entity as showed in code example (here coffee code implementation for dataPropeties):

    addRules = (breezeEntity) ->

        return if breezeEntity.koValidationRulesAdded
    
    entityType = breezeEntity.entityType
    for property in entityType.dataProperties
    continue unless property.validators.length > 0
    do (property) ->
    displayName = property.displayName or property.custom?.displayName or property.name
    breezeEntity[property.name].extend
    validation:
    validator: (value) ->
    if breezeEntity.entityAspect.validateProperty property.name, {displayName: displayName, entity: breezeEntity}
    @message = ""
    return true
    else
    @message = breezeEntity.entityAspect.getValidationErrors(property.name)[0].errorMessage
    return false
    message: ""
    return
    breezeEntity.koValidationRulesAdded = true
    return

    this code allows:
    1) to validate single property with usage of all…

    5 votes
    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. Tools for meta data creation for breeze not depending on a server-side ORM and tools for ORM-less server-code generation

    For me ia server-side ORM for a web application is a wrong cut. I think business logic should go as close to the data as possible to guarantee consistency, protection, and security. This means to me using stored procedures and database functions wherever possible (in a relational environment) and reasonable. In addition, if done right it's arguably unbeatably fast. The role of the Web API should be to provide access to the data across the network but not processing it.

    Let's suppose we have to query the database for all open orders for a certain customer including order items and…

    4 votes
    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 →
  9. Support for NotMapped properties server side

    it would be useful to have support for server-side properties notmapped together with the properties of normal db. Obviously readonly
    Thanks

    22 votes
    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 →
  10. 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 →
  11. 4 votes
    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. Possible Bug

    Returns all records if Field name is same as search text.
    Go to Learn Breeze Step 6 of 6
    Change code to this:
    var p1 = Predicate.create("CompanyName", "contains", "CompanyName");
    var whereClause = p1;

    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. Better documentation to create own support for any external datasource

    What needs to be considered on client/server side etc.
    Maybe with a sample?

    345 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. Better non MS support

    Compared with other data client libraries Breeze is way ahead but it is still heavily tied to MS. It says it supports most dbs out the box but this is a bit misleading as you need a .NET provider which really means Windows. I've mainly worked on MS technologies but recent requirements mean a lot of our systems run on Linux and I'd like to use Breeze for this.

    6 votes
    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. Fix Navigation Property Update When Changing a Composite Foreign Key

    In an entity that has a navigation property based on a composite foreign key (i.e. based on more than one foreign key properties), when setting one of the FK properties, breezejs tries to update the navigation property, however it searches for the foreign entity using a single key instead of a composite key, so it never finds the property.

    To see what I mean and for a possible fix, please refer to breeze.debug.js (v.1.4.8) lines 4907 and 4908:

                    key = new EntityKey(relatedNavProp.entityType, [newValue]);
    
    relatedEntity = entityManager.findEntityByKey(key);

    The related entity never gets found since the key consists only of a single…

    30 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. Support Web API 5.1.x

    When attempting to install the Breeze.Server.WebApi2 from nuget, this error is reported, and installation fails:

    Install failed. Rolling back...
    Updating 'Microsoft.AspNet.WebApi.Core 5.1.1' to 'Microsoft.AspNet.WebApi.Core 5.0.0' failed. Unable to find versions of 'Microsoft.AspNet.WebApi.WebHost, Microsoft.AspNet.WebApi.Owin' that are compatible with 'Microsoft.AspNet.WebApi.Core 5.0.0'.

    5 votes
    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. Support filters for multi-level relationships with derived types

    Support filters for multi-level relationships with derived types, as in the currently valid OData 3 filter syntax:
    BaseModel/derivedmodel.namespace.on.server/DerivedModelProperty

    Currently this almost works if you specify the property name as above, except that it always defaults the data type of the predicate to string, even if a data type is specified. This is due in part to the syntax failing the RX_IDENTIFIER check.

    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 →
  18. optimize/compress data/bandwidth using nested arrays of values only

    Instead of current JSON format used to send data from server to client, optimize it so that only values are sent in an array (or nested arrays) - no need to send field names if schema is available, otherwise send a separate mini-schema (list of fields/types) along the data. Decode it on the client back to the current structure.
    This is especially important when trying to limit the data sent back using Select on the server (anonymous entities), each row includes a complete data type as a very long string - with many rows, this adds substantial overhead (almost always…

    2 votes
    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. 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 →
  20. EmailAddress validation issue

    Hello. You copied regex from .Net EmailAddressAttribute to client validation emailAddress. Server-side validation is with ignore case option, but on client - without it, so email with any uppercase letter is invalid.

    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