Skip to content
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

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

nofaralfasi
Copy link
Contributor

No description provided.

sbernhard
sbernhard previously approved these changes Dec 28, 2023
Copy link
Contributor

@sbernhard sbernhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@adamruzicka
Copy link
Contributor

[test Redmine issues]

adamruzicka
adamruzicka previously approved these changes Jan 2, 2024
Copy link
Contributor

@adamruzicka adamruzicka left a 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
Copy link
Member

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

module Queries
class HostQueryTest < GraphQLQueryTestCase

@stejskalleos
Copy link
Contributor

Unit tests are failing due to the changes in the PR: Queries::HostQueryTest:

@stejskalleos
Copy link
Contributor

[test katello]

@stejskalleos stejskalleos self-assigned this Jan 10, 2024
Copy link
Contributor

@stejskalleos stejskalleos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍏 LGTM

@stejskalleos stejskalleos merged commit c109691 into theforeman:develop Jan 11, 2024
18 checks passed
@stejskalleos
Copy link
Contributor

Thanks @nofaralfasi and others!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants