Hyeseong Kim
Hyeseong Kim
> @cometkim correct me if I'm wrong, but shouldn't Gatsby pick up all queries that are under the src directory (reference)? If I replicate the glob usage that Gatsby utilizes,...
@impulse Could you please confirm if the same problem occurs in the last version(2.1.0)?
@impulse Can you share your typegen plugin config and the tsconfig?
Hey @impulse, That's not only exporting `query Posts {...}`, but also importing it and use in your GatsbyJS project right? Can you share code so I can reproduce the problem?...
@impulse Oh, I see. Actually, this plugin has not yet officially supported gatsby-node. :sweat_smile: Before the v1 release, codegen generated regardless of Gatsby since it had used glob pattern for...
> Unfortunately I still get Cannot find namespace 'GatsbyTypes'. ~~I will try to figure it out in a few days.~~ Well, I just tried to repro this ``` ➜ yarn...
You can forward any serializable info from gatsby-node to browser code via adding webapack define plugin config on onCreateWebpackConfig. This is actually gatsby doing internally. just need to be careful...
@d4rekanguok Nope. my plugin track only documents that actually processed by gatsby. so no need to specify glob pattern or manually add it at all.
Gatsby provides a utility type `PageProps` contains `Data` and `Context` type parameters describe what injected into the page component. Data can be the generated type from page queries, and Context...