You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a Repository class under models/ (I'll call it A) and another Repository under publishing/ (call it B). Mentions of Repository in fast.rb and slurb.rb used to resolve correctly to A, but on my instance I just had those same mentions resolve to B, causing the operation (publishing i think) to fail. This might be due to the recent ruby upgrade, I don't know.
My fix was to rename class A, but perhaps there is a way to force those mentions to resolve to A without changing the name of the class.
The text was updated successfully, but these errors were encountered:
jar398
changed the title
Uses of Repository class resolve to the wrong Repository class
Mentions of Repository class resolve to the wrong Repository class
Mar 16, 2020
The thing that's blocking me from preparing a PR to fix this is the challenge of choosing a new name. (Preferably for the one in models/ , since changing its name requires far fewer edits to other files.) RepositoryHandle, sort of, although that's sort of lame.
There is a Repository class under models/ (I'll call it A) and another Repository under publishing/ (call it B). Mentions of Repository in fast.rb and slurb.rb used to resolve correctly to A, but on my instance I just had those same mentions resolve to B, causing the operation (publishing i think) to fail. This might be due to the recent ruby upgrade, I don't know.
My fix was to rename class A, but perhaps there is a way to force those mentions to resolve to A without changing the name of the class.
The text was updated successfully, but these errors were encountered: