-
Notifications
You must be signed in to change notification settings - Fork 137
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
References represented inside of link block using JSONAPI implementation #168
Comments
Does |
I can't use |
That is correct behaviour. The You can do |
As this might be a common problem in JSON API, we could introduce a link :self do |options|
options[:parent_represented].id
end |
This issue was moved to trailblazer/roar-jsonapi#14 |
Hi guys,
I've trying create association links using
Roar::JSON::JSONAPI
but I can't referencerepresented
method inside of thehas_one
block.For instance:
How I described, I would need some way to get
requester.id
inside ofhas_one
. Anyway to do it?The text was updated successfully, but these errors were encountered: