npm install firstname.lastname@example.org, then put something like the following in your
package.json, then run
bin file just prefixes the regular cli arguments to
gql-gen so that it'll use the configuration, helpers, and templates included here.
All custom scalar types should be defined with
io-ts and exported from a file above the
--out target called
// represents a Date from an ISO string
This is why I think
./src/io-types/generated/ makes a good target - it also gives you space to organize your generated types, like defining a universal decoder:
Note that in typescript you can't
import from outside the project directory.