-
Notifications
You must be signed in to change notification settings - Fork 3
Added how to implement TS doc #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.2.5 to 4.4.1. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v4.2.5...v4.4.1) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update CODEOWNERS
Bumps [dset](https://github.com/lukeed/dset) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/lukeed/dset/releases) - [Commits](lukeed/dset@v3.1.3...v3.1.4) --- updated-dependencies: - dependency-name: dset dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](micromatch/micromatch@4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.1 to 6.3.0. - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v6.2.1...v6.3.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [next](https://github.com/vercel/next.js) from 14.1.1 to 14.2.12. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v14.1.1...v14.2.12) --- updated-dependencies: - dependency-name: next dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
…pawn-7.0.6 Bump cross-spawn from 7.0.3 to 7.0.6
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
@Fran-A-Dev what are we waiting for on this one? |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
|
||
| [View the Faust.js TypeScript scaffold application](https://github.com/wpengine/faust-scaffold-ts) | ||
|
|
||
| ### Using graphql-codegen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we showing graphql codegen here? Don't we have our own generate command for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's because it showed in the original docs here and it tells the user to consider it:
https://faustjs.org/guide/how-to-implement-typescript
Should I just do away with codegen @moonmeister ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, my best guess is this doc was written before our built in generate command had shipped and it was never updated. Let's get that fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good will fix it
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
b829c14 to
be9dc0b
Compare
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
okay. So this makes even less sense after the changes. What I asked before was whether Typing GraphQL was accomplished through the cli command More reasearch suggests possible types is specific to Apollo and GraphQL Fragments. Nothing to do with TypeScript. Let's make sure we undestand and test the docs we're writing.
|
Oh, gotcha. @moonmeister I did test the generate command and it worked fine. What I misunderstood was I thought you said GraphQL code gen step was not necessary at all and it would automate that within Faust. When I ran the command, it said the types in the terminal were updated. That is why I thought it was all good to go. Also, I do not use TS much. I'll add your suggestions and test again but I'll need your help to make sure it is what we want. Let's hop on a call next week or we can just use the dev time we have allocated on Wednesdays to check the docs on this. Thanks my dev dude! |
|
@Fran-A-Dev sounds good. I don't either at least not with Faust, so hopefully we can get this sorted together. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
@moonmeister I rewrote the doc to make more sense per your suggestions which made more sense than the current doc page I took this from. Here are the summary of changes I made:
Try the steps, I just went through them and it works. |
|
@Fran-A-Dev I spent some time looking into this today and made a few tweaks to the wording in both the basic setup doc at the implementing TS doc. The steps for implementing TS don't actually work. That's because when Faust's The And the Since running Since Faust is already using GraphQL Codegen to run an introspection query against the /graphql endpoint's schema and generate the Happy to work on this with you when we come back on Monday. Thanks for working on it, Fran! cc: @moonmeister |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
Thanks for taking a look and testing this out @kellenmace ! Yes, let's take a look at this together and decide on the clear fix for the doc. |
…d 'implmenenting-typescript' doc, minor wording and code syntax highlighting updates
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
Wait to merge and review this one as well.