-
Notifications
You must be signed in to change notification settings - Fork 581
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
ClassCompiler: Validate field types -> Icinga type names correctly #9514
Conversation
When the classcompiler is validating/transforming field types -> Icinga type names, it is currently returning Icinga `Number` type for field type of `bool`, which is actually wrong. This PR ensures to always transform into the correct Icinga type names.
There are two uses of
|
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.
Observable changes by this PR (highlighted in bold in my previous comment) are totally fine (even an improvement), so let's do this.
When the classcompiler is validating/transforming field types -> Icinga type names, it is currently returning
Icinga
Number
type for field type ofbool
, which is actually wrong. This PR ensures to always transforminto the correct Icinga type names.