Skip to content

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.

272 results found

  1. Support local databases

    I am writing an "offline" application that may occasionally connect to a server, but not with EF and one I do not control. Locally, I am using SQLite to store data. I would love to use breeze capabilities like the LINQ-style API with the locally stored SQLite data (this is a WinJS app).

    The tie to server-side calls and EF makes this a non-starter. Any chance you'll publish an interface that needs to be implemented in JS in order to provide this functionality for the rest of your code?

    31 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. rethinkdb and aurelia

    add support for rethinkdb and aurelia

    30 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Automatically remove from cache items that were deleted by someone else if an Expand clause did not return it

    When multiple users play with similar data and one of the navigation property (to a list of children for example) has hard deletable items, it is possible for one user to load all the children in cache, then for another to delete those children. Then, for user 1, even if he refetches the parent objects with an expand clause to the children, Breeze will currently reattach even those children that were not returned from the server - the deleted ones. There is no easy way currently out of manually clearing the cache or querying directly for each child to check…

    30 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. 29 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Show us how to bind to a grid

    LOB apps have grids. Can you show us how to bind a list of Breeze entities to a grid and do filtering, sorting and paging.

    26 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Please provide more tutorials like knockout js such that the user can understand a bit more. Thanks

    Please provide more tutorials like knockout js such that the user can understand a bit more. Thanks

    26 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Change entityAspect name to $entityAspect to prevent angularJS.equal in circular reference

    Angular is comparing objects by the equal function.
    If you have a watch on a breeze entity the entityAspect object will cause the ng.equal function to produce a stack overflow.
    objects with the $ prefix are ignored by ng.equal function.

    In my case I had an issue with ng-formly and breeze because formly is watching the collection and so also the entityAspect.

    25 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Support for Data Annotation Validators (DisplayName, ErrorMessageResourceName)

    Breeze has built-in message templates and we do seem to have the option to change them via breeze.Validator.messageTemplates but having to deal with at least 2 languages on my web project means that I'll have to write my messages twice (1 for .Net and 1 for Breeze). It would be seriously awesome if Breeze could get them directly from the Data Annotation definition as I'm already using the Breeze WebApi2 and ContextProviderEF6.

    For example a Model with this data annotation
    [Display(ResourceType = typeof(Resources.Validations), Name = "SiteName")]
    [Required(ErrorMessageResourceType = typeof(Resources.Validations), ErrorMessageResourceName = "Required")]
    public string siteName { get; set; }

    It…

    24 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. Support for collections of navigational properties

    When generating the bundle to be sent to the server on saving of entities I suggest we use this method, I've been using it in the past and haven't seen any issues (yet)

    function unwrapInstance(structObj, transformFn) {
    if (!structObj.unwrapped) {
    structObj.unwrapped = true;
    var rawObject = {};
    var stype = structObj.entityType || structObj.complexType;
    var serializerFn = getSerializerFn(stype);
    var unmapped = {};
    stype.dataProperties.forEach(function (dp) {
    if (dp.isComplexProperty) {
    rawObject[dp.nameOnServer] = _map(structObj.getProperty(dp.name), function (co) {
    if (!co.unwrapped) {
    return unwrapInstance(co, transformFn);
    }
    });
    } else {
    var val = structObj.getProperty(dp.name);
    val = transformFn ? transformFn(dp, val) : val;
    if (val ===

    23 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Can configure a parent entity type to enter the modified state when a child changes

    Often (but not always), the parent is the root entity of an aggregate. An Order is the root of an Order aggregate with child line items. When a line item is added/deleted/modified the semantics say that the Order has changed. The concurrency check on the Order governs the entire graph. So we want any line item change to force the Order to be changed. The developer should be able to specify in metadata that the Order changes when anything in its line items collection changes. The specification should be on a navigation path basis. Breeze should respond accordingly

    22 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. MVC Service (v.3 and v.4)

    Breeze supports Web API today. Our shop uses MVC 3 and MVC 4 ... but not Web API yet. Could Breeze talk to MVC controller methods and exchange JSON data as it does with Web API controllers?

    21 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. function parameters in query clauses

    Add ability to pass functions into where clauses, orderBy clauses, etc., instead of strings, for better intellisense and TypeScript type support.

    20 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Entity creation: Initialise Foreign Key - Properties which are Nullable with Null (Currently it's 0)

    i'm currently working on a angular/breeze/web api - based solution.
    to simplify user input i'm marking all the required fields thanks to the getValidationErrors() method. in this case the user presses an add button on a grid, then a new entity gets created and angular takes care of the rest. sounds good right?
    This works for regular Properties but not for Foreign Keys because they get created with an "0" Value (I didn't assign defaults and the column is not nullable) and therefore validationErrors is empty after entity creation which is imho wrong.

    additional information:
    http://stackoverflow.com/questions/20339402/breeze-entity-creation-foreign-key-column-is-set-to-0-by-default

    19 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. 19 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Add Mask to zValidate Breeze/AngularJS validation directive

    zValidate is the best practice for validate view and model with AngularJs and if this directive will have mask property It will be cool.

    19 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. EntityManager should accept different service address for generating metadata

    Currently EntityManager accepts a service name, which it uses to fetch metadata and also resolve controller/actions.
    E.g.
    var manager = new breeze.EntityManager("servicename");

    At the Web Api end, I will have multiple controllers. E.g. OrderController, CustomerController etc... based on the need of my application. I will also have a HomeController where I will have the method Metadata() that is used by Breeze to fetch metadata.

    When I try to make my first query, Breeze automatically tries to fetch the metadata information. So in this example it will hit the following URI: http://servicename/metadata, but ideally it should be hitting http://servicename/home/metadata.

    19 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Northwind example with Java Spring & Hibernate

    Hi,

    I have downloaded java northwind example from github (https://github.com/Breeze/breeze.js.samples/tree/master/java/NorthBreeze)
    Then i create northwind database and deploy server with Java. The server return data and metadata json look good.
    But when i deploy client and call server, i received error:

    "Metadata query failed for: http://localhost:8081/NorthBreeze/breeze/northbreeze/Metadata. Unable to either parse or import metadata: Error configuring an instance of 'NavigationProperty'. The 'foreignKeyNamesOnServer' parameter is optional or it must be an array where each element must be a 'string'; [object Object]"

    Here is my Medata JSON return, please see this file in URL:

    https://onedrive.live.com/redir?resid=17269D19CFD14BB3!3861&authkey=!AIm0ajxNBoSCFyY&ithint=file%2ctxt

    Can anyone help me?

    Thanks very…

    18 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Support Entity Framework 6 with WebAPI 1 / .NET 4.0

    Current EF6 support requires WebAPI 2, which only runs on .NET 4.5. Please consider adding support for using EF6 with WebAPI 1 on .NET 4.0 for those of us with old Windows 2003 Servers.

    17 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

1. BreezeJS Feature Suggestions

Categories

Feedback and Knowledge Base