Skip to content

Commit 8dd5768

Browse files
authored
Replace relationship_links_by_default with autolink
The `InvalidLink` error references a `relationship_links_by_default` setter in Graphiti::Resource, which exists nowhere in the library. It seems the intention was to reference the `autolink` property of Graphiti::Resource.
1 parent 05b9b10 commit 8dd5768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphiti/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def message
189189
190190
Make sure the endpoint "#{@sideload.resource.endpoint[:full_path]}" exists with action #{@action.inspect}, or customize the endpoint for #{@sideload.resource.class.name}.
191191
192-
If you do not wish to generate a link, pass link: false or set self.relationship_links_by_default = false.
192+
If you do not wish to generate a link, pass link: false or set self.autolink = false.
193193
MSG
194194
end
195195
end

0 commit comments

Comments
 (0)