Closed
Description
I think the main goal of loopback-next
should be TypeScript
and es6-7 as first class features. Below are the goals:
- rewrite LoopBack source code as
TypeScript
classes using es6 / 7 features best practices - use
TypeScript
native modules eg.import
andexport
. - promises first and everywhere
async
andawait
everywhere
Below is brief list of impact for discussion.
- drop callback API ??? - we need to focus on promise support, can we do that without dropping callbacks?
- remove all uses of
require()
- change model script syntax - now export es6 class ???
- shouldn't force users to use
TypeScript
- need to provide docs as bothTypeScript
andJavaScript
- would tests need to be rewritten in
TypeScript
??? - drop custom impl of
mixin
andclass
in juggler
Anything else?
Metadata
Metadata
Assignees
Labels
No labels