QueryCollections might not exist
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This is a really minor thing, but quite often when I'm developing a new module of a system, I'll create the Repositories that deal with that area of the system before I write any SQL.
I'll create a Repository with reference to a particular named QueryCollection, but I'll get an error that the QueryCollection doesn't exist.
This error message is only useful if I try and run a query from it and it doesn't exist. It always catches me out, and I'd love to not see this error message again.
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
Trace how a Repository resolves its named QueryCollection and where the missing-collection error is raised. Confirm the current behavior when a repository is created before its SQL exists, then add focused coverage for deferring that error until a query is run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100