add support for custom scalars -- mainly adding proper import machinery
This commit is contained in:
@@ -4,3 +4,8 @@ schema: schema.graphql
|
||||
queries:
|
||||
- genqlient.graphql
|
||||
generated: generated.go
|
||||
|
||||
# We map github's DateTime type to Go's time.Time (which conveniently already
|
||||
# defines MarshalJSON and UnmarshalJSAON).
|
||||
scalars:
|
||||
DateTime: time.Time
|
||||
|
||||
Reference in New Issue
Block a user