Skip to content
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

baseUrl for related records wrong #145

Open
tkellen opened this issue Aug 10, 2015 · 1 comment
Open

baseUrl for related records wrong #145

tkellen opened this issue Aug 10, 2015 · 1 comment
Labels

Comments

@tkellen
Copy link

tkellen commented Aug 10, 2015

Reported by @ashleygwilliams.

GET /v1/authors/1/books serializes self and related links incorrectly because the models to serialize are books, but the serializer on the authors controller is used.

Note: In the current endpoints architecture there is no way to resolve this without providing a type => controller mapping.

@tkellen
Copy link
Author

tkellen commented Aug 10, 2015

I have a decent solution for this locally. Hoping to spend some more time on it tonight.

@BBB BBB added the bug label Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants