-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relative url for links object #144
Comments
This is not possible at the moment, but I'm open to a PR to allow this. The request URI comes from here:
It's then passed into the serializer here: saule/Saule/JsonApiSerializer.cs Line 73 in 41c9b84
It's prepended to every generated path here:
I think a property |
@joukevandermaas thanks a lot for your help. I am thinking if |
I agree with you, but it currently does not have this behavior. So that would be breaking backwards compatibility. If you can think of a way to not break existing stuff, I'm all for it. |
is there a way to return relative url for links object. in our projects, we'd like to see this
"links": { "self": "/api/sessions" },
instead of
"links": { "self": "http://localhost:49895/api/sessions" },
The text was updated successfully, but these errors were encountered: