Skip to content

Commit c0a9e0c

Browse files
committed
update fix
1 parent d4c13e0 commit c0a9e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/language/document_from_schema_definition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def build_definition_nodes
256256
if !include_built_in_directives
257257
dirs_to_build = dirs_to_build.reject { |directive| directive.default_directive? }
258258
end
259-
dir_nodes = build_directive_nodes(warden.directives)
259+
dir_nodes = build_directive_nodes(dirs_to_build)
260260

261261
type_nodes = build_type_definition_nodes(warden.reachable_types)
262262

0 commit comments

Comments
 (0)