We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as per glitter chat:
I have an Event model that has_one host, a User. the User model has it's own (quite large) decorator. It would be great to have
has_one
has_one :host, class: User, decorator: UserDecorator
I'd like to avoid doing
has_one :host, class: User, populator: ::Representable::FindOrInstantiate do # many properties end
and duplicating this in every decorator that has a user.
The text was updated successfully, but these errors were encountered:
This issue was moved to trailblazer/roar-jsonapi#11
Sorry, something went wrong.
No branches or pull requests
as per glitter chat:
I have an Event model that
has_one
host, a User. the User model has it's own (quite large) decorator. It would be great to haveI'd like to avoid doing
and duplicating this in every decorator that has a user.
The text was updated successfully, but these errors were encountered: