Skip to content

Commit

Permalink
Add VariableDefinition directive location to DirectiveTypeFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 committed May 25, 2024
1 parent cb28038 commit 9e82cf1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ internal sealed class DirectiveTypeFactory : ITypeFactory<DirectiveDefinitionNod
Language.DirectiveLocation.InputFieldDefinition,
DirectiveLocation.InputFieldDefinition
},
{
Language.DirectiveLocation.VariableDefinition,
DirectiveLocation.VariableDefinition
}
};

public DirectiveType Create(IDescriptorContext context, DirectiveDefinitionNode node)
Expand Down

0 comments on commit 9e82cf1

Please sign in to comment.