Introduce Ecto.SQLRepo
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by comparing the functions and generated documentation in Ecto.Adapters.SQL with the callbacks and documentation behavior in Ecto.Repo. Define the scope and design of a new Ecto.SQLRepo for the relevant callbacks, while preserving Ecto.Adapters.SQL for custom adapter implementations; the issue does not identify specific files or tests.
Written by the indexing model from the issue text.
Description
Elixir version
All
Database and Version
All
Ecto Versions
All
Database Adapter and Versions (postgrex, myxql, etc)
All
Current behavior
Today, we define several functions in Ecto.Adapters.SQL and we generate functions with docs inside the Ecto.Repo. This is a contrast to how Ecto.Repo works, which defines several callbacks in Ecto.Repo and lets the documentation tool tie them together.
Expected behavior
My suggestion is to introduce Ecto.SQLRepo which defines all relevant callbacks for the functions we generate, making them more consistent. The Ecto.Adapters.SQL API can then focus on custom adapter implementations.
There is no rush to implement this. I am documenting this for posteriority.
- Dominant language
- Elixir
- Stars
- 657
- Forks
- 345
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
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.
More from elixir-ecto/ecto_sql
-
Kind:Enhancement Note:Discussion
Difficulty 5/5 Over a week Newbie friendliness 30/100
elixir-ecto/ecto_sql#666 · 1 comment ·
-
Kind:Bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
elixir-ecto/ecto_sql#602 · 4 comments ·
All issues in elixir-ecto/ecto_sql
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
agentjido/jido_harness#80 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sevenseacat/cinder#235 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
phoenixframework/phoenix#6847 ·