Skip to content

Commit

Permalink
Merge pull request #16 from forged-org/feature/schema-fixes
Browse files Browse the repository at this point in the history
Moving schemas to crate roots
  • Loading branch information
Yatekii authored May 5, 2023
2 parents 2827ecf + 0971d21 commit 911852b
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions forged-cli/src/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use uuid::Uuid;

pub use queries::*;

#[cynic::schema_for_derives(file = "../schema.graphql", module = "schema")]
#[cynic::schema_for_derives(file = "schema.graphql", module = "schema")]
pub mod queries {
use super::schema;
use forged::cynic;
Expand Down Expand Up @@ -142,7 +142,7 @@ pub mod queries {
}

mod schema {
cynic::use_schema!("../schema.graphql");
cynic::use_schema!("schema.graphql");
}

impl_scalar!(forged::Upload, schema::Upload);
Expand Down
Loading

0 comments on commit 911852b

Please sign in to comment.