Customizing TS type generation

Could you please share how you registered the custom Jackson module?

I think it should be possible to register a custom module and Hilla should pick it up, but there have been situations in the past, where this was not the case and only the default mapper was taken into account.

If you don’t have to use the ObjectId, you could have a look at these examples for using AutoGrid and AutoCrud with MongoDB: