The ThingBuilder
is the basic class we're building.
@graph
section.
schemify
method builds the schema into
schemaTypes groups.
modelMiner
method resolves the issue of having Fields with
1 or more schemaTypes as Types.
modelMaker
method returns the definition of a single
schemaType.
thing
method returns the definition schemaType and
all it's parent schemaTypes.
The thing library already encapsulates this functionality and outputs simple JSON objects.
Read the [thing Documentation][] for more details.
mongoose-thing and django-thing inherit
from the ThingBuilder and override the thing
method to return
a definition which can be passed to the MongooseJs or
Django.
your/repo/elioway/eliothing/thing-inMVCFramework
.
thing
method which returns a Model definition in
the MVC Framework of your choice.