Skip to content

Commit 3ff4a55

Browse files
restore EVALUATE_ONCE enum value to allow migration to read+rewrite old cards (0.10.5)
1 parent 6d57d60 commit 3ff4a55

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
}
2525

2626
allprojects {
27-
project.version = '0.10.4'
27+
project.version = '0.10.5'
2828
}
2929

3030
subprojects {

spellsource-game/src/main/java/net/demilich/metastone/game/spells/desc/valueprovider/ValueProviderArg.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ public enum ValueProviderArg {
2121
MIN,
2222
MAX,
2323
CARD_SOURCE,
24-
CARD_FILTER
24+
CARD_FILTER,
25+
/**
26+
* Deprecated. Retained so Jackson can still deserialize card documents
27+
* persisted in Postgres before this arg was removed; the R__ card-catalogue
28+
* migration will rewrite those rows with fresh card content and drop it.
29+
*/
30+
EVALUATE_ONCE
2531
}

0 commit comments

Comments
 (0)