JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources

No clear way of scheduling jobs / doing anything outside the main transaction

Abierto
#903 5 comentarios 5 reacciones 0 asignados Ver en GitHub

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

Currently, there is no clear way of scheduling jobs, or doing anything other outside of the main transaction in every request. There has been a Issue on this, but it is no longer relevant due to changes in the OperationsDispatcher.

While there is an after_process_operations callback on the controller, how to get any data on the updated/created/viewed resource is not clear from the docs, and also not immediately clear from the source.

Any information on this would be greatly appreciated.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Start with the controller's after_process_operations callback and the OperationsDispatcher, then compare the current source with the existing documentation. Clarify how data for updated, created, or viewed resources can be accessed and how work can be scheduled outside the main transaction. Done means the documented guidance answers these use cases without relying on the superseded issue 503.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rails, ruby
Área
api, backend, documentation
Tipo de issue
Documentación
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
34/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.