I don't want to write my own custom scalar types, I want to import them from a library. For example, I want UnixTimestamp from this npm package - gnt
in my typeDefs.js
I try something like this
import { gql } from 'apollo-server-express'
import { UnixDate } from 'gnt'
export default gql`
type vacation {
from: ${UnixDate}
to: ${UnixDate}
}
/* other types and queries */
`
But it doesn't work. I get Error: Type "UnixDate" not found in document.