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
-
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 -
EntityManager.getEntityGraph - get a root entity's object graph from cache
Like the FindEntityGraph method in DevForce (http://drc.ideablade.com/xwiki/bin/view/Documentation/query-working-in-cache), this method would return an array of entities in cache consisting of the root entity and the related entities as specified in the call, perhaps with "expand" syntax. Could use for partial saves as requested in this S.O. post (http://stackoverflow.com/questions/13575058/how-can-i-save-a-single-entity-with-entitymanagers-savechanges-method). Also useful for moving graphs between EntityManagers and to browser local storage.
11 votes -
10 votes
-
Clear the cache of a single entity type
To work with larger amounts of data, it would be useful to be able to clear the cache of a single type of entity.
Especially useful when you want to fill the local cache with large amounts of data to use with a 3rd party grid or tree view.
10 votes -
Breeze offline docs
Please, make it possible to run breeze documentation locally like angularjs provides https://code.angularjs.org/1.2.16/angular-1.2.16.zip
Or think about devdocs.io, would be great see breeze docs there
It is annoying to wait half a minute to walk through the online docs every time I need them
10 votes -
Provide a simple example demonstrating use of BreezeJS+Mongodb
The only example I can find demonstrating BreezeJS and Mongodb with enough information to replicate it is the Zza project. This has some configuration and launch issues anyway, but is also a million miles from being a minimal application.
None of the Todo-style apps, which would be perfect tutorials, have a description of how to set up a Node+Mongodb back end and are universally reliant on Visual Studio, meaning Mac and Linux developers can't use the library. The live tutorial apps have no description of how to set up a suitable HTML or database at all, let alone for Node+Mongodb.
…
10 votes -
Support Paging natively
I'm using .take() and .skip() for paging with a table.
When I "insert" an entity into the database, I reload my table (new query). Now I would like to jump to this new object inside the table and highlight it.
I need an elegant solution to find on what page the new object is and then use skip/take to jump to the correct page.
My Suggestion:
Maybe Breeze could natively support paging by allowing to specify a page-size in the query and which page to deliver (instead of using take and skip and calculating it on the client).
If this…
10 votes -
9 votes
-
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 -
.withHeaders for specifying optional headers to pass along
If we have specific headers we want to pass along for certain calls and not others we don't have the ability to easily handle that when we are using an OData adapter. I've seen implementations where this is handled by setting values on the oData default http client, but that makes the setting occur for EVERY call when I would like to have a more granular level of control to be able to pass along headers in certain scenarios.
9 votes -
Please add support for the ODataConventionModelBuilder
3.0 spec:
"The association MAY also specify zero or one edm:ReferentialConstraint elements."Please comply with the standard, and please remove these old articles that's promoting the highly flameable EdmBuilder ;)
9 votes -
Support $inlinecount in queries fetched fromLocalCache
Breeze now support inline count when fetching data from the server. However, inline count is not available when you fetch from the local cache using the fetch strategy fromLocalCache.
If I have added or deleted an entity, I only need to go to the local cache to get the entities but I need to know how many there are given the specific query so I can update paging controls.
8 votes -
any plan to port TempHire to AngularJS version
Can i use the way of Todo-Angular to port it to AngularJS version?
8 votes -
make a strong integration with kendo-ui
sort of :
manager.executeQuery(breeze.EntityQuery.from("Employees"))
.then(function(data){ applykendoBindings(data,kendodatasource);} );
and then changetracking and all godness of breeze should happen :)8 votes -
Using breeze (odata) in full duplex communication (websockets)
Hey, I will not pretend to be an expert of breeze, but I like the concept and all the work you have done!
I'm thinking of developing a proof of concept where I use breeze to communicate over websockets instead of http...Has anyone done this with breeze? Am I a complete moron? Should I go bananas on this?
8 votes -
Add PUT support for custom save options in addition to POST
Where the documentation says you can 'The Breeze client still sends a JSON change-set bundle to 'MyCustomSave' as it would with a normal saveChanges call. The POST method on the server that handles the 'MyCustomSave' endpoint should have the same as signature as the 'SaveChanges' method.' you could also use a PUT
8 votes -
support odata minimalmetadata
breezejs does not support use of minimalmeta and jsonlight resposes are too big. I tried using
//odata.defaultHandler.accept = 'application/json;odata=minimalmetadata'; //odata.jsonHandler.useJsonLight = true;
all operations but delete work. because delete depends on the full meta data
8 votes -
Change the Required Validator to check the context property to allowemptystring
Change the Required value Validator such that it can read the property to allow empty strings.
Change line:
if (ctx && ctx.allowEmptyStrings) return true;
For:
if (ctx && (ctx.allowEmptyStrings || ctx.property && ctx.property.allowEmptyStrings)) return true;
8 votes -
Add missing TypeScript .d.ts files for Breeze Labs
It would be fantastic to also publish separate TypeScript Declaration (.d.ts) files that aligned with the functionality offered by the Breeze Labs extensions. At the moment, there is only one breeze.d.ts file which doesn't include declarations for Breeze Labs extensions. This is a bit of a gap for us TypeScript users. Thanks!
8 votes -
ASP.Net Web API OData information outdated?
I'm looking at this page and it says that the OData EDM builder doesn't support navigation properties, but I believe it does now. Also, the samples for Web API provide an OData batch controller that save changesets in the order that they coming in the request. Doesn't this make Web API fully compatible with Breeze? Do we still need to use the Breeze custom model builder?
8 votes
- Don't see your idea?