JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources
Official Sequel (and other ORMs) Support Thread
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Ruby
- Sterne
- 2.3k
- Forks
- 546
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I'm working on the Sequel adapter for this library. With it, I will do the following:
- Take the library to actually being fully decoupled from ActiveRecord, just like Rails (if you want to use Rails without having ActiveRecord in your top-level namespace, you can). It would be nice to have this also be a characteristic of this library.
- Support Sequel - be able to run all the specs with all the original models but interfacing with Sequel. This can be done by changing the "ORM" environment variable when running specs.
The library seems to be written with the intent for it to be decoupled from the orm used by the user but doesn't go all the way. With this, the orm specific logic will be housed in one place.
Any additional thoughts or opposition to the idea?
Any other Sequel or other ORM users out there who want to use this library? Please like this so I know how many of you are out there...
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Umgebungsverwaltung des ORM der Bibliothek und die in diesem Thread beschriebene ActiveRecord-spezifische Logik zu überprüfen. Führe die vorhandenen Specs mit der aktuellen ORM-Einstellung aus und ermittle anschließend den erforderlichen Umfang für die Unterstützung von Sequel und die Entkopplung vom ORM. Erledigt bedeutet, dass die Specs gegen Sequel bestehen und die ORM-spezifische Logik wie vorgeschlagen isoliert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rails, ruby
- Bereich
- backend, databases
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100