You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operations are detected in the project like before.
Actual outcome:
After updating apollo-language-server (sub-dep of apollo) from 1.26.8 to 1.26.9, on Windows the following error message appears:
× Generating query files with 'typescript' target
→ No operations or fragments found to generate code for.
Error: No operations or fragments found to generate code for.
How to reproduce the issue:
Install apollo@2.33.11 and apollo-language-server@1.26.9
Try a codegen
The mentioned error will appear
Versions
apollo@2.33.11
apollo-language-server@1.26.9
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Thanks for the report @adrienharnay. This repo is largely unmaintained (I'm the only one and it's very low on our list of priorities). I would entertain a PR that resolved the problem for you, but it's unlikely I'll get around to fixing this myself.
We don't intend to support codegen going forward. I'll point you to this issue and recommend migrating to graphql-code-generator. #2614
You have to change backslashes to forwardslashes in the apollo client:codegen command. This can be done using normalize-path package if you are running this command through js.
Intended outcome:
Operations are detected in the project like before.
Actual outcome:
After updating
apollo-language-server
(sub-dep ofapollo
) from 1.26.8 to 1.26.9, on Windows the following error message appears:How to reproduce the issue:
apollo@2.33.11
andapollo-language-server@1.26.9
Versions
apollo@2.33.11
apollo-language-server@1.26.9
Thanks in advance!
The text was updated successfully, but these errors were encountered: