RootCauseunvalidated
ofType(UserDto.class) .filter(this::matchesExistingUser) // needs DTO .map(UserAuthenticationToken::from); // needs User, but. Outcome: use this `Tuple2` downstream for those respective `filter` and `map` operators.
c1ef8c5d-edf6-4ed1-b469-9c8bf79783b1
ofType(UserDto.class)
.filter(this::matchesExistingUser) // needs DTO
.map(UserAuthenticationToken::from); // needs User, but. Outcome: use this Tuple2 downstream for those respective filter and map operators.