Right now it's not obvious that Spring Data converts enum values to String. We should mention this explicitly and add an example how to register a Converter that forces enum values to be retained in their type so that the value is passed to the driver as-is.
Right now it's not obvious that Spring Data converts
enumvalues toString. We should mention this explicitly and add an example how to register aConverterthat forcesenumvalues to be retained in their type so that the value is passed to the driver as-is.