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

[question] How provide config file to apollo-cli ? #549

Closed
Heroes84 opened this issue Aug 13, 2018 · 2 comments · Fixed by #591
Closed

[question] How provide config file to apollo-cli ? #549

Heroes84 opened this issue Aug 13, 2018 · 2 comments · Fixed by #591

Comments

@Heroes84
Copy link

Heroes84 commented Aug 13, 2018

Hi, according to documentation I create apollo.config.js file but apollo schema:download --config=apollo.config.js not working, cannot find file, even is in current directory. Where the config file should be ? For now I used global path. Second, how generate valid models for android using apollo-cli codegen ? Documentation is so poor :(

apollo codegen:generate --config=/Users/rwawrzyniak/Documents/workspace/kotlin/example-android/data/src/main/graphql/com/example/data/apollo.config.js
 ›   Error: The output path must be specified in the arguments for Swift and Scala
@jhalborg
Copy link

jhalborg commented Sep 10, 2018

Any news on this? schema:download --config=apollo.config.js should work IMO.

Yeah, the docs could definitely use an overhaul :)

WaldoJeffers referenced this issue in WaldoJeffers/apollo-cli Sep 13, 2018
WaldoJeffers referenced this issue in WaldoJeffers/apollo-cli Sep 13, 2018
@WaldoJeffers
Copy link
Contributor

This should be fixed by apollographql/rover#591

shadaj referenced this issue Sep 23, 2018
* Fix loadConfigFromFile

Fixes apollographql/rover#549

* Fix linter warnings
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 a pull request may close this issue.

3 participants