Custom relationship attributes
With Voyager 1.1 you are able to define additional attributes which you can show in a relationship.
For example a Post
has an Author
and you want to display the Users
full-name. To do so, we first need to define an Accessor
After that we need to tell Voyager that there is an accessor we want to use:
Thats it! You can now select full_name
in your Relationship.
Last updated