Uploaded image for project: 'Ymir'
  1. Ymir
  2. YMIR-333

[ymir-core] Pageが持つ@ConstraintBundleのついたメソッドに付与されている制約チェックを行なうようにする

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor Minor
    • 1.0.3
    • Affects Version/s: 1.0.2
    • Component/s: ymir-core
    • None

      現在のConstraintBundleは分かりにくく扱いにくい。そこで、Pageが持つ@ConstraintBundleのついたメソッドに付与されている制約チェックを行なうような仕組みを追加し、従来のConstraintBundleはdeprecatedにする。

      通常@ConstraintBundleをつけるメソッドはPageの共通の親クラスにつける。つけられたメソッドの返り値がtrueの場合は制約チェックを行なう。falseの場合は行なわない。これで複数Pageに同じ制約をまとめてつけることができる。

            Assignee:
            skirnir skirnir
            Reporter:
            skirnir skirnir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: