-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #36160 - add display_name field to Host GraphQL type #9968
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
[test Redmine issues] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Could you please rebase? Maybe it would make the redmine issue check turn green
@@ -7,6 +7,7 @@ class Host < BaseObject | |||
global_id_field :id | |||
timestamps | |||
field :name, String | |||
field :display_name, String, method: :to_label |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding this field to the host query test
foreman/test/graphql/queries/host_query_test.rb
Lines 3 to 4 in 5423d2c
module Queries | |
class HostQueryTest < GraphQLQueryTestCase |
acfc133
Unit tests are failing due to the changes in the PR: |
[test katello] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍏 LGTM
Thanks @nofaralfasi and others! |
No description provided.