Add documentation about options.http.path in model definition > relations - #556
Conversation
I was looking for a solution to alter the default path of a relation and I stumbled apon this solution which I believe was not documented.
|
Can one of the admins verify this patch? |
|
Thank you for submitting this edit. We are taking a look at it now and will confirm shortly. |
|
Please sign the CLA for loopback here: |
|
Hi @jannyHou I can look for such a PR but I was just basing this on my experience working with the framework. Here's my configuration: Edit: to be honest, it feels like it would take a really deep dive into the code to find the related pull request and I am not sure when I can find the time to do this. |
|
@jannyHou this feature has been supported for ages. I think I actually added it myself here: strongloop/strong-remoting#37, see also loopbackio/loopback-datasource-juggler@dbb7c6d |
|
Actually, my comment applies to |
jannyHou
left a comment
There was a problem hiding this comment.
I see, thank you! LGTM, just please fix the commit message to pass the lint:
**************************************************
**
** Linting commit logs
**
** 1 problems found:
** 6ed1892 - Add information about options.http.path: line 3 longer than 72 characters.
**
**************************************************
bschrammIBM
left a comment
There was a problem hiding this comment.
approved after commit message is fixed
|
I fixed the commit message while running "squash and merge". Thank you @FLO-G for the contribution! 🎉 |
I was looking for a solution to alter the default path of a relation and I stumbled apon this solution which I believe was not documented.