Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc says it's supported, but... #18

Open
jamo3 opened this issue Nov 3, 2020 · 2 comments
Open

Doc says it's supported, but... #18

jamo3 opened this issue Nov 3, 2020 · 2 comments

Comments

@jamo3
Copy link

jamo3 commented Nov 3, 2020

I need OffsetDateTime -> Long conversion, but it doesn't actually seem to be supported:

org.modelmapper.MappingException: ModelMapper mapping errors:

  1. Converter org.modelmapper.module.jsr310.FromTemporalConverter@69e8b711 failed to convert java.time.OffsetDateTime to java.lang.Long.
    Caused by: org.modelmapper.MappingException: ModelMapper mapping errors:

  2. Unsupported mapping types[java.time.LocalDateTime->java.lang.Long]

@chhsiao90
Copy link
Member

Can you provide reproducible code? Thanks!

@jamo3
Copy link
Author

jamo3 commented Mar 25, 2021

Sorry, that was months ago and now I don't recall where I encountered the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants