Skip to content

Commit

Permalink
Added address fields to response
Browse files Browse the repository at this point in the history
Now users can ask for `allAddressLines` or `fullStreetAddress` to their
queries
  • Loading branch information
ivankocienski committed Feb 14, 2022
1 parent 338fbce commit 6235172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/graphql/types/address_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class AddressType < Types::BaseObject
field :city, String
field :postcode, String
field :country_code, String
field :full_street_address, String
field :all_address_lines, [String]
end
end

0 comments on commit 6235172

Please sign in to comment.