pvasek / falcor-net Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
If you have route defined with Properties builder extension method it doesn't return correct result
routes.MapRoute<Model>()
.Dictionary(i => i.EventById)
.AsKey()
.Properties(i => i.Name, i => i.Number)
.To(p => {...})
The paths after the evaluation are not collapsed before the other evaluation.
This path:
["Events",0...3]
Should return first tree items, the same as ["Events",0..2]
when implementing falcor's client to consume the path, it continues to execute the query until falcor throws an error.
Implementation:
<script src="//netflix.github.io/falcor/build/falcor.browser.js"></script>
<script>
var url = '/model.json';
var model = new falcor.Model({source: new falcor.HttpDataSource( url)});
var log = console.log.bind(console);
var jlog = function (x) { console.log(JSON.stringify(x, null, 3)); };
var jerror = function (x) { console.error(JSON.stringify(x, null, 3)); };
model.get("Events[0].Name").then(jlog, jerror)
</script>
Error
Uncaught MaxRetryExceededError: The allowed number of retries have been exceeded.
I am not sure if this has to do with the paths not collapsing?
Maybe it is the same thing and just the builder will try to cover it.
There should be a nuget package for Falcor.Router assembly.
This should be similar to original falcor implementation.
This kind of routes should be supported as well
["Events",[2,4,6,8,10..12],"Name"]
There should be a nuget package for Falcor.Router.Owin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.