Skip to content

fix(models): do not use hardcoded paths in relation mappings

Yannis Barlas requested to merge model-requires into master

I've created extensions to the provided models, but when using relations they are ignored.
This is because the models have hardcoded paths when referring to each other, essentially always guaranteeing that the original model will run instead of the extension.

This fixes the above by using @pubsweet/models.

Edited by Yannis Barlas

Merge request reports