Skip to content

Commit 32e1a97

Browse files
author
Ross Cooperman
committed
Add shareable directive to interfaces
1 parent 9dffe80 commit 32e1a97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/apollo-federation/interface.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ def inaccessible
2222
add_directive(name: 'inaccessible')
2323
end
2424

25+
def shareable
26+
add_directive(name: 'shareable')
27+
end
28+
2529
def tag(name:)
2630
add_directive(name: 'tag', arguments: [name: 'name', values: name])
2731
end

0 commit comments

Comments
 (0)