Open mkamensky opened 4 months ago
The path argument to the method containing the line below is often a symbol, which causes the call to fail, eventually resulting in Graphiti raising Graphiti::Errors::InvalidLink. I suggest adding .to_s to path here.
path
Graphiti::Errors::InvalidLink
.to_s
https://github.com/graphiti-api/graphiti-rails/blame/759db8d25f14ae4b171e9b961e51ab50027a0d67/lib/graphiti/rails/railtie.rb#L134
Just saw that pull request #107 addresses it
The
path
argument to the method containing the line below is often a symbol, which causes the call to fail, eventually resulting in Graphiti raisingGraphiti::Errors::InvalidLink
. I suggest adding.to_s
topath
here.https://github.com/graphiti-api/graphiti-rails/blame/759db8d25f14ae4b171e9b961e51ab50027a0d67/lib/graphiti/rails/railtie.rb#L134