Skip to content
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

Convert path to string to avoid Graphiti::Errors::InvalidLink #110

Open
mkamensky opened this issue Mar 2, 2024 · 1 comment
Open

Convert path to string to avoid Graphiti::Errors::InvalidLink #110

mkamensky opened this issue Mar 2, 2024 · 1 comment

Comments

@mkamensky
Copy link
Contributor

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.

https://github.com/graphiti-api/graphiti-rails/blame/759db8d25f14ae4b171e9b961e51ab50027a0d67/lib/graphiti/rails/railtie.rb#L134

@mkamensky
Copy link
Contributor Author

Just saw that pull request #107 addresses it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant