Skip to content

Commit

Permalink
Remove alias from types output
Browse files Browse the repository at this point in the history
  • Loading branch information
cllns authored and flash-gordon committed Jun 14, 2024
1 parent 324d418 commit 91a8f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rom/struct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ module ROM
# # see struct's schema attributes
#
# model.schema.key(:id)
# # => #<Dry::Types[id: Nominal<Integer meta={primary_key: true, alias: nil, source: :users}>]>
# # => #<Dry::Types[id: Nominal<Integer meta={primary_key: true, source: :users}>]>
#
# model.schema[:name]
# # => #<Dry::Types[name: Sum<Nominal<NilClass> | Nominal<String meta={alias: nil, source: :users}> meta={alias: nil, source: :users}>]>
# # => #<Dry::Types[name: Sum<Nominal<NilClass> | Nominal<String meta={source: :users}> meta={source: :users}>]>
#
# @example passing a namespace with an existing parent class
# module Entities
Expand Down

0 comments on commit 91a8f30

Please sign in to comment.