Skip to content

Commit

Permalink
feat(customer-portal): Add applicable timezone to customer portal cus…
Browse files Browse the repository at this point in the history
…tomer
  • Loading branch information
rsempe committed Oct 2, 2024
1 parent 3c2cab5 commit 17ff5d6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/graphql/types/customer_portal/customers/object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Object < Types::BaseObject

field :id, ID, null: false

field :applicable_timezone, Types::TimezoneEnum, null: false
field :currency, Types::CurrencyEnum, null: true
field :display_name, String, null: false
field :email, String, null: true
Expand Down
1 change: 1 addition & 0 deletions schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

it { is_expected.to have_field(:id).of_type("ID!") }

it { is_expected.to have_field(:applicable_timezone).of_type("TimezoneEnum!") }
it { is_expected.to have_field(:display_name).of_type("String!") }
it { is_expected.to have_field(:firstname).of_type("String") }
it { is_expected.to have_field(:lastname).of_type("String") }
Expand Down

0 comments on commit 17ff5d6

Please sign in to comment.