Skip to content

Commit de4a3ea

Browse files
gusinaciolutter
authored andcommitted
graph: fix case-sensitive mistake
1 parent 846eed5 commit de4a3ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graph/src/data/schema.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ impl Schema {
545545
/// example:
546546
///
547547
/// type Account @entity {
548-
/// wallets: [Wallet!]! @derivedFrom("account")
548+
/// wallets: [Wallet!]! @derivedFrom(field: "account")
549549
/// }
550550
/// type Wallet {
551551
/// account: Account!
@@ -576,7 +576,7 @@ impl Schema {
576576
)
577577
})?;
578578
if field.is_derived() {
579-
let derived_from = field.find_directive("derivedfrom").unwrap();
579+
let derived_from = field.find_directive("derivedFrom").unwrap();
580580
let base_type = field.field_type.get_base_type();
581581
let field_name = derived_from.argument("field").unwrap();
582582

0 commit comments

Comments
 (0)