Grape route error
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 10k
- Forks
- 1.2k
- Avg merge
- 14h 38m
- Merged PRs (30d)
- 92
Description
After upgrading to 0.16.2 from 0.15.0 I get this error:
Mustermann::CompileError - can't use the same capture name twice: "/(*:path)*path(.json)":
I have looked at the UPGRADING document and it doesn't look like I am using any of the deprecated methods.
In my routes.rb file I am using: mount Base => '/'
Is there any more information I can provide to help debug this issue?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the route declaration in routes.rb and compare behavior between Grape 0.15.0 and 0.16.2. Read the UPGRADING document alongside the reported Mustermann::CompileError, then reproduce the mount Base => '/' case; done means identifying the route incompatibility and confirming the error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100