How does the --export flag work?
See original GitHub issueI cannot find docs about exactly how to use it.
I tried with a file that exports a schema like this:
schema.ts
import gql from "graphql-tag";
export const schema = gql`
type User {
id: ID!
first_name: String!
last_name: String!
}
`
And I run this:
gql-gen --export schema.js --template typescript --out ./types.ts ./src/**/*.ts
And I get this error:
Loading GraphQL Introspection from JavaScript ES6 export: schema.js...
TypeError: schema.getTypeMap is not a function
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Red Flag Indicators - BIS.doc.gov
Red Flag Indicators. Print. Things to Look for in Export Transactions. Use this as a checklist to discover possible violations ...
Read more >No Bull: Export Compliance Means Watching for Red Flags
Red flags are defined by the Export Administration Regulations (EAR) as “any abnormal circumstances in a transaction that indicate that the export may...
Read more >U.S. Flag Shipping Requirements - EXIM.GOV
Shipping on U.S. flag vessels is required for the following EXIM export credit transactions: Direct loans regardless of term or amount,; Guarantees and...
Read more >Data Export - LaunchDarkly docs
This topic explains how to use LaunchDarkly's Data Export feature to export and store flag, user, and Experimentation event data. Data Export ......
Read more >Add Import/Export Flags option - Microsoft Community Hub
you can use the file by copying it to multiple machines to apply the same flags to all of them. it can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@GD-Aichi soon 😃 @jonaskello please read my latest comment in the PR.
Is this review finish?