This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Unable to use ArtemisClient
in a package without specifying build.yaml
config
#375
Labels
bug
Something isn't working
Before reporting a bug, please test the beta branch!
Bug description
The project I am working on is a monorepo where our queries, models, etc live in a package separate from our app(lets call that package api). I'm injecting an
ArtemisClient
into that api package from my app to make queries because I want to be able to setup my own logging, headers, interceptors, etc. within the app, however when trying to run unrelated build_runner generation in the app package, I get the following error message:I think I'd expect the client to be provided as a separate package as the client feels like a separate responsibility from the code generation.
Specs
Artemis version: '>=7.0.0 <8.0.0'
build.yaml:
# Please paste your `build.yaml` file
I haven't configured artemis in
build.yaml
as for the app package I only want access toArtemisClient
, not any code generation tools.Artemis output:
GraphQL schema:
No schema, as for the app package I only want access to
ArtemisClient
, not any code generation tools.GraphQL query:
No query, as for the app package I only want access to
ArtemisClient
, not any code generation tools.The text was updated successfully, but these errors were encountered: