Open devinivy opened 9 years ago
:+1: Some of that info already exists in "code format" in waterline example which can be used as a base for the docs.
:+1: Tried reading through the waterline example, and formal documentation would definitely help onboard new users. Ironically, @devinivy's example in the waterline-fixtures package README helped the most for me.
Docs relating waterline functions to formal database migrations used for testing would be helpful as well. e.g. An example dropping/rebuilding all models before a test.
Adapters and connections configuration info is missing here. Also need to document how to extend and load model definitions. Basically, we need to document how to initialize waterline, drawing all the necessary connections between adapters, connections, and model definitions.