Objection.js: Lack of documentation for relationship filtering

Created on 22 Feb 2018  路  5Comments  路  Source: Vincit/objection.js

"Polymorphic associations" entry in the recipe book is the only place where filter: {commentableType: 'Issue'}, feature is mentioned, and even then it is not mentioned that it supports either object, or string or function there. Given how useful this feature is, I believe it belongs somewhere in the core documentation.

enhancement

Most helpful comment

I am also having trouble findng docs on the filter aspect of relations. The link above now seems defunct with the updated docs.

Is there a way to access the old docs?
Or maybe get an update where the link is suppose to go to?

All 5 comments

@koskimas
I could give writing documentation entry a shot, but would appreciate pointing out what particular part of documentation you would like it to be added to.

It should be added here

@koskimas PR created.

PR merged. Thanks 馃憤

I am also having trouble findng docs on the filter aspect of relations. The link above now seems defunct with the updated docs.

Is there a way to access the old docs?
Or maybe get an update where the link is suppose to go to?

Was this page helpful?
0 / 5 - 0 ratings