luckyframework/avram

Operation callbacks are missing the conditional arguments

Aberta

#1.066 aberto em 25 de set. de 2024

 (0 comentário) (0 reação) (0 responsável)Crystal (67 forks)auto 404
hacktoberfest

Métricas do repositório

Stars
 (180 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

https://github.com/luckyframework/avram/blob/bb63db88513b05e80030a4c61c9ef48b0ea12dbe/src/avram/callbacks.cr#L97C9-L97C19

With SaveOperation and DeleteOperation you can do before_save :do_thing, if: :valid?, but this doesn't work for before_run or after_run

Guia do colaborador