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
I'm not certain about this idea, but it could be nice for the names & locations of cynic schemas to be configured in the metadata section of the users Cargo.toml.
This would allow:
The build.rs to read from here
Potentially the derives could read from there (although tbh I'd rather they don't for speed purposes)
The CLI could read from there for introspection
If I integrate the generator into the CLI then it could also read from there
Any CI integrations (probably powered by the CLI) could also read from there.
My main reservation is adding extra dependencies (either cargo_metadata or the toml library) into the dep tree. But if we end up supporting all the above use cases it could be pretty nice.
The text was updated successfully, but these errors were encountered:
I'm not certain about this idea, but it could be nice for the names & locations of cynic schemas to be configured in the metadata section of the users Cargo.toml.
This would allow:
My main reservation is adding extra dependencies (either
cargo_metadata
or thetoml
library) into the dep tree. But if we end up supporting all the above use cases it could be pretty nice.The text was updated successfully, but these errors were encountered: