EngineHub / EngineHub/Intake

Strange Authorizer behaviour

オープン
#20 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
102
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

When I checked my Authorizer (I'm using ParametricBuilder), I found out it executes 2 times. Firstly for the first command in class (with annotated methods) then for my current command. If the 1st cmd in class has no Require annotation the Authorizer won't be executed 2 times (only for the current cmd). It doesn't affect on cmd execution (cmd executes once correctly), but I think it shouldn't be so.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ParametricBuilderから開始し、最初のアノテーション付きコマンドと現在のコマンドに対して Authorizer がどのように呼び出されるかを追跡します。最初のコマンドに Require アノテーションがあるケースを再現し、その後もコマンドの実行が1回だけ行われ、認可は現在のコマンドに対してのみ行われることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。