Skip to content

Commit

Permalink
Fix one-diff validation to not panic when a field parent type does no…
Browse files Browse the repository at this point in the history
…t exist

Reviewed By: chikit

Differential Revision: D56909753

fbshipit-source-id: 341fd95b2733c3796d92565213d04c15b31ee968
  • Loading branch information
Deepak Singh authored and facebook-github-bot committed May 7, 2024
1 parent 4379b67 commit 00ddca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/crates/schema/src/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ impl Schema for InMemorySchema {
if name == self.strongid_field_name {
return Some(self.strongid_field);
}
if name == self.is_fulfilled_field_name {
return Some(self.is_fulfilled_field);
}
}

let fields = match parent_type {
Expand Down

0 comments on commit 00ddca2

Please sign in to comment.