Using...
@indexed(options = @IndexOptions(collation = @collation(locale = "simple")))
...yields...
Mixed usage of deprecated @indexed values with the new @IndexOption values is not allowed. Please migrate all settings to @IndexOptions
...even though that's clearly what's happened. The problem is that @indexed has deprecated default values, which the check code sees as values, plus the 'new' options= is being used, and that causes the error to be thrown, despite the fact that no values have been set. The check code should maybe look for values which differ from the defaults and only throw an error when both that condition is true and options= has been used? But currently, trying to do the right thing is blocked.
Using...
@indexed(options = @IndexOptions(collation = @collation(locale = "simple")))
...yields...
Mixed usage of deprecated @indexed values with the new @IndexOption values is not allowed. Please migrate all settings to @IndexOptions
...even though that's clearly what's happened. The problem is that @indexed has deprecated default values, which the check code sees as values, plus the 'new' options= is being used, and that causes the error to be thrown, despite the fact that no values have been set. The check code should maybe look for values which differ from the defaults and only throw an error when both that condition is true and options= has been used? But currently, trying to do the right thing is blocked.