Currently, Axon Framework allows having multiple tags with the same key on an event (like course=1 and course=2). This is unusual usage, and we may want to investigate whether this is desirable. At a minimum, we could disallow this until there is a valid use case.
Related to this: tag keys are currently unrestricted, aside from disallowing null keys. We could reserve or disallow certain keys:
- The empty string (or any blank string)
- Keys with leading or trailing spaces
- Keys with a reserved prefix (
_EVENT_NAME is reserved in Axon Server, we could consider reserving all keys starting with an underscore).
For values:
- The empty string (or any blank string)
- Values with leading or trailing spaces
- Values with an asterix (
*) as this could be used to allow limited wild card matches (or glob patterns) as most engines can easily support this.
- This could allow you to create criteria for events that simply are marked with a specific key (ie.
key=*) or even partial matches (like location=Europe/*)
Currently, Axon Framework allows having multiple tags with the same key on an event (like
course=1andcourse=2). This is unusual usage, and we may want to investigate whether this is desirable. At a minimum, we could disallow this until there is a valid use case.Related to this: tag keys are currently unrestricted, aside from disallowing
nullkeys. We could reserve or disallow certain keys:_EVENT_NAMEis reserved in Axon Server, we could consider reserving all keys starting with an underscore).For values:
*) as this could be used to allow limited wild card matches (or glob patterns) as most engines can easily support this.key=*) or even partial matches (likelocation=Europe/*)