Skip to content

Commit

Permalink
fix: Field equality factors in inline serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
maxveldink committed Mar 21, 2024
1 parent 0d5285a commit d160a26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/typed/field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def initialize(name:, type:, required: true, inline_serializer: nil)
def ==(other)
name == other.name &&
type == other.type &&
required == other.required
required == other.required &&
inline_serializer == other.inline_serializer
end

sig { returns(T::Boolean) }
Expand Down

0 comments on commit d160a26

Please sign in to comment.