Skip to content

Instantly share code, notes, and snippets.

@pedroassis
Created September 2, 2014 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroassis/2626af64b4b8d36ce438 to your computer and use it in GitHub Desktop.
Save pedroassis/2626af64b4b8d36ce438 to your computer and use it in GitHub Desktop.
One line public method, well not one line after breaking it
this.getAll = () => ClassLoader
.getAll(ENTITYS_PATH)
.sort((a, b) => a.length < b.length)
.map((model) => SchemaBuilder.build(model));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment