For attributes it is possible to override function with either one or two arguments: (model) or (model, conn).
For relations, only the (model, conn) override is possible. This is inconsistent and might confuse.
This PR adds the (model) override to relations too.
Closes #298
For attributes it is possible to override function with either one or two arguments:
(model)
or(model, conn)
. For relations, only the(model, conn)
override is possible. This is inconsistent and might confuse.This PR adds the
(model)
override to relations too.