Skip to content

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

@Heroes84

Description

@Heroes84

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions