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. 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. Fix mobile site navigation

    Entire nav is at top of each page, clicking link looks like page didnt load

    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. Overload for Validator.register so i can register multiple Validators in one shot

    Validator.register(requireReferenceValidator);
    Validator.register(twitterValidator);

    instead, just pass an array

    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. Remove Requirement for Foreign Keys

    Hello,

    Currently, it appears that in order for navigation properties to work, they must be coupled with an explicit FK property that contains the value for the relationship. This leads to entity contract pollution and should be eliminated, if possible.

    I am having to modify my models to comply with Breeze, and that is a poor development experience.

    Thank you for any consideration,
    Michael

    15 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 →
  5. Add KeepDetached merge strategy

    Please allow the scenario when entities which aren't saved in the database yet can be returned from the server.

    My scenario is:
    1. There is a grid which is bound to the order items. The grid is used for displaying order items for a new or already saved order.
    2. There is a sever method which constructs new order with order items. The order and order items are new entities and aren't saved in the DB yet.
    3. I would like to display data in the grid and add the order to the EntityManager and save if user is ok…

    3 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. I want to develop restful api on nodejs using breezejs and Odata built upon microsoft entity framework.

    I want to develop restful api on nodejs using breezejs and Odata built upon microsoft entity framework. Please let me know when your team is providing breezejs for ms entity framework for nodejs

    9 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 →
  7. unnecessarily complex eample in an otherwise well done explaination

    //I believe the following source structure offers better pedagogy
    //Note the use of 'metaStore' vs simply 'store' and the avoidance of excessive convenience variables.
    //Also, there is a clearly defined collection of entities suitable for a JSON file, in fact!

    'use strict';

    // Creates a metadataStore with 3 Northwind EntityTypes:
    // Product, Category, Supplier and a Location ComplexType
    function createMetadataStore(serviceName) {

    // Convenience variables
    var DT = breeze.DataType;
    var Identity = breeze.AutoGeneratedKeyType.Identity;

    var serviceName = 'api'; // root path for data from the server
    var defaultModelNamespace = 'UE.Models';

    //meta data definitions
    var CategoryType = {
    // Header info
    shortName: "Category", …

    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. filters need to be put in request body, not uri

    I have a very large table with about two dozen possible different filtering fields to narrow down what is sent to the client on what I call a search page. I made a "Search" method using POST in the web api controller with the idea that I would put the filters in the request body, since I think all of them are too much for a URI. Can Breeze handle that?

    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. just a note: Doccode tests have errors in test 124 (latest version EF6 in VS 2012)

    should have a deleted BankAccountTPH in the save result
    the deleted BankAccountTPH should now be 'Detached'
    requery of the deleted BankAccountTPH with key '[95]' should return null because no longer in the db.
    The primary key value cannot be deleted because references to this key still exist. [ Foreign key constraint name = FK_dbo.DepositTPCs_dbo.BankAccountTPCs_BankAccountId ]
    Source:
    at handleFail (http://localhost:47595/tests/testFns.js:161:13)
    at _rejected (http://localhost:47595/Scripts/q.js:808:24)
    at http://localhost:47595/Scripts/q.js:834:30
    at Promise.when (http://localhost:47595/Scripts/q.js:1079:31)
    at Promise.promise.promiseDispatch (http://localhost:47595/Scripts/q.js:752:41)
    at http://localhost:47595/Scripts/q.js:574:44
    at MessagePort.flush (http://localhost:47595/Scripts/q.js:108:17)
    The primary key value cannot be deleted because references to this key still exist. […

    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. describe how to fix Breeze/Angular template

    The template is broken on the Microsoft web site due to a dependency on jQuery packages. However, if you download it, create a new project with the template, and then add the jQuery and jQuery UI nuget packages manually, the new app does in fact run. All you have to do is describe that simple set of instructions.

    3 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 →
  11. Predicates with the DateTimeOffset type

    I try to execute a Query containing the following predicate:

    var predicate = breeze.Predicate.create("myDateProp", breeze.FilterQueryOp.LessThan, new Date());

    "myDateProp" is of type DateTimeOffset in the server-side EF entity (and breeze client-side metadata).

    Executing this query throws the following error on the server:

    Microsoft.Data.OData.ODataException:
    "A binary operator with incompatible types was detected. Found operand types 'Edm.DateTimeOffset' and 'Edm.DateTime' for operator kind 'LessThan'."

    I am not sure whether this is a bug in the Microsoft OData Libraries that breeze depend upon, or whether the problem is in the Breeze server DLLs.

    This is really critical in our project as we consistently use the…

    13 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 →
  12. Provide information on the minimum requirement for using Breeze with AngularJS

    From the download and templates, there's a lot of server code but I just want Breeze to help me manage communication with an established API.

    Do I really need ALL the server code provided in the templates? Do I need ANY of this code or can I get started by including the JavaScript pre-requisites? Do I need any of the Breeze dlls? etc.

    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. Plugin for Ember.js

    Ember.js is a fastly growing and very impressive SPA web framework. Since Breeze is very well suited to OData this would give Ember developers who are developing against Microsoft and SAP a solid choice for their persistence layer.

    47 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 →
  14. savechanges

    Allow SaveChanges to happen so as to enjoy Breeze functionality, without actually performing the core transaction in the DB. This could be achieved by custom code.

    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 →
  15. 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 →
  16. 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 →
  17. Support rename name of column in select query

    For example:

    var catalogQuery = entityQuery.from('Projects')
    .where(preds)
    .select('columnId as c1');

    7 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 →
  18. Must be able to fetch available enum values from metadatastore

    and be able to bind them with knockout to a select (dropdown)

    7 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. 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

    --batch_be08-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 →
  20. Order by the length of a string property.

    use case:
    when performing a text search I want to to take the records that contain the input text but also order the results and take these that are the shortest.

    like so:
    query.orderBy("textProp.Length);

    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 →
  • Don't see your idea?

1. BreezeJS Feature Suggestions

Categories

Feedback and Knowledge Base