Skip to content

Commit

Permalink
avoid type duplication. #257
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 13, 2019
1 parent 3a86fb2 commit cf9e602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/event_data_edge_type.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class EventDataEdgeType < GraphQL::Types::Relay::BaseEdge
node_type(DoiItem)
node_type(PublicationType)

field :source, String, null: false, description: "Source for this event"
field :relation_type, String, null: false, description: "Relation type for this event"
Expand Down

0 comments on commit cf9e602

Please sign in to comment.