Skip to content
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

Use cli generateSearchPlaces to find config #35

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

Dzuelu
Copy link
Contributor

@Dzuelu Dzuelu commented Aug 2, 2023

If requiring the extension, you can instead use the generateSearchPlaces included that is already exported in the package. This will include .ts files that were not included in the version the function was copied from.

You can see on line 132 that cli can not be null and then on line 140 the getConfigPath function is called.

@capaj
Copy link
Owner

capaj commented Nov 29, 2023

amazing, thanks for this. Using the export that they added in https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md#patch-changes-56

will be much better

@capaj capaj merged commit 91b9764 into capaj:master Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants