Skip to content

Commit

Permalink
Add shareable directive to interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Cooperman committed Oct 9, 2023
1 parent 9dffe80 commit 32e1a97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/apollo-federation/interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ def inaccessible
add_directive(name: 'inaccessible')
end

def shareable
add_directive(name: 'shareable')
end

def tag(name:)
add_directive(name: 'tag', arguments: [name: 'name', values: name])
end
Expand Down

0 comments on commit 32e1a97

Please sign in to comment.