JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources
Official Sequel (and other ORMs) Support Thread
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Ruby
- Estrellas
- 2.3k
- Forks
- 546
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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...
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza revisando la gestión del entorno del ORM de la biblioteca y la lógica específica de ActiveRecord descrita en este hilo. Ejecuta las specs existentes con la configuración actual del ORM y, a continuación, determina el alcance necesario para admitir Sequel y desacoplar el ORM. Se considera terminado cuando las specs pasan con Sequel y la lógica específica del ORM está aislada según lo propuesto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rails, ruby
- Área
- backend, databases
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100