Skip to content

Commit

Permalink
Valid types description for a simple type in data
Browse files Browse the repository at this point in the history
Since data is just a Symbol, types[:data] should just be described
as "Symbol". Array notation is meant to be used for describing
key => value pair.

Co-authored-by: Łukasz Reszke <[email protected]>
  • Loading branch information
fidel and lukaszreszke committed Jul 19, 2023
1 parent 5fc788a commit 8b85a04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ module Transformation
event_id: uuid,
metadata: {
types: {
data: ['Symbol', 'Symbol'],
data: 'Symbol',
}
},
data: :any_given_symbol,
Expand Down

0 comments on commit 8b85a04

Please sign in to comment.