Add check on default message to recognize missing {} for keys

Description

I had a problem because I miswrote my constraint

Note the missing {} around the message default key.

We might want to detect that in the annotation processor by checking the following pattern:

  • long ish without space

  • dots

  • no {} around

Environment

None

Assignee

Marko Bekhta

Reporter

Emmanuel Bernard

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure