luckyframework/avram

Operation callbacks are missing the conditional arguments

オープン

#1,066 opened on 2024/09/25

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Crystal (67 件のフォーク)auto 404
hacktoberfest

Repository metrics

Stars
 (180 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド