Unable to run when using LocalDate in a View record

I have a record for a View, called CompanyRow. It includes a LocalDate field.
When I run my project (locally) I get a Map exception (java.lang.UnsupportedOperationException: ‘Map’ type not supported as type by protobuf module).
FYI, I have a domain record called Company & that has a LocalDate field and the corresponding HTTP Endpoint works.
Also, when I remove LocalDate from my CompanyRow (& replace it with a String) then it works.
What steps do I take to enable View to support LocalDate?

Looks like missing functionality in views, we should make that work, but as a workaround, can you try and see if using a java.time.Instant works?

Thanks for the suggestion. I got the View to work for responses. However when I
try to use Instant in a Query, I get a protobuf error.
@Query(“SELECT * AS companies FROM companies_by_filter where publishedPeriod < :offsetMonth”) where publishedPeriod and offsetMonth are java.time.Instant.
The error I get at runtime is:
13:27:58.208 level=ERROR logger=akka.javasdk.impl.SdkRunner msg=“Unexpected exception while setting up service”
java.lang.UnsupportedOperationException: ‘Number’ type not supported as root type by protobuf.
How do I handle this issue?

I don’t know of a workaround for now, but we’ll sort this in an upcoming release.