Skip to content

Commit

Permalink
Update readme/instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
stocaaro committed Oct 21, 2024
1 parent 6adfdc9 commit 952f1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ For the code forked here most of the complexity of adapting `codegen` to be non-

These are the steps needed to adapt the `graphql-codegen-core` code to run non-async and adhere to the adapted `SyncTypes`:
- Remove '`.js`' from all import statements
- Replace "`async `" => "``"
- Replace "`await `" => "``"
- Replace "`async `" => ""
- Replace "`await `" => ""
- Replace "`Promise<X>`" => "`X`"
- Replace "`Promise.resolve(X)`" => "`X`"
- Replace "`Promise.all(X)`" => "`X`"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This package code is forked from [this version](https://github.com/dotansimha/graphql-code-generator/tree/%40graphql-codegen/core%402.6.8)
of the `@graphql-codegen/core` library, which is [adapted to function without the async behavior](MAINTENANCE.md). This was done to allow
codegen to be run during the CDK build process. Ideally this change would be made on [the public package](https://github.com/dotansimha/graphql-code-generator/issues/10149)
and consumed for our usecase.
codegen to be run during the CDK build process. Ideally this change would be supported on [the public package](https://github.com/dotansimha/graphql-code-generator/issues/10149)
and consumed for our usecase. This fork is intended to support the CDK usecase until sync execution is supported by the source repository.

0 comments on commit 952f1f2

Please sign in to comment.