We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846eed5 commit de4a3eaCopy full SHA for de4a3ea
graph/src/data/schema.rs
@@ -545,7 +545,7 @@ impl Schema {
545
/// example:
546
///
547
/// type Account @entity {
548
- /// wallets: [Wallet!]! @derivedFrom("account")
+ /// wallets: [Wallet!]! @derivedFrom(field: "account")
549
/// }
550
/// type Wallet {
551
/// account: Account!
@@ -576,7 +576,7 @@ impl Schema {
576
)
577
})?;
578
if field.is_derived() {
579
- let derived_from = field.find_directive("derivedfrom").unwrap();
+ let derived_from = field.find_directive("derivedFrom").unwrap();
580
let base_type = field.field_type.get_base_type();
581
let field_name = derived_from.argument("field").unwrap();
582
0 commit comments