'Handling timestamps in juniper rust

any idea how to support timestamps in graphql with juniper?

I'd like to be able to get timestamps from a query/mutation as store them as is in mongodb.

I've been trying to create a custom scalar but haven't succeeded so far.

thank you for your help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source