How can I use a custom ID conversion with DomainClassConverter?
问题 I have a SQL database where primary keys are UUIDs, but the canonical string representation of a UUID is very long, and I would like to use a shortened version (Base58) in my URLs. Spring Data's DomainClassConverter will convert MVC request parameters or path variables into domain objects, but I want to be able to modify the resolved ID before it's passed to the repository. The default SpringDataWebConfiguration creates a DomainClassConverter using a FormattingConversionService supplied by