4 ms·
Small note on Falcor and its paradigm - in huge, complex applications, delaying errors until runtime is something to be avoided. Using Falcor seems like it'll
by yawgmoth 11y ago
Small note on Falcor and its paradigm - in huge, complex applications, delaying errors until runtime is something to be avoided. Using Falcor seems like it'll be prone to that.
On the other hand, ASP.NET MVC or Web API will give you intellisense when consuming your endpoint.
- jeswin 11y agoFrom an earlier @falcorjs tweet: @evanwinslow Not out of the box. However the great thing about a untyped schema, is that you can always layer a typed schema over it. https://twitter.com/falcorjs/status/596416048988966912?s=08 https://twitter.com/falcorjs/status/596416048988966912?s=08 The reason Asp.net MVC and Web API gives you type information is because a) you've already given type information b) tooling You can overlay schema on Falcor API and verify it as part of the build. The tooling for the probably doesn't exist right now, but the building blocks for tooling do. Actually, your point is more about JS vs a statically typed language.
- 0xCMP 11y agoYep, and Relay/GraphQL do this so that would be a place to look at how it'd be done.