-
Notifications
You must be signed in to change notification settings - Fork 427
Type error in Scaffolder backend module servicenow/v1.41.1 #4812
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
base: scaffolder-backend-module-servicenow/v1.41.1
Are you sure you want to change the base?
Conversation
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
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.
Thanks for this @djanickova, this all looks right to me from my review. We do need a changeset so these changes get released, more details on that here: https://github.com/backstage/community-plugins/blob/main/CONTRIBUTING.md#creating-changesets
sysparmSuppressAutoSysField: z | ||
.boolean() | ||
.optional() | ||
.describe( | ||
'True to suppress auto generation of system fields (default: false)', | ||
), | ||
sysparmView: z | ||
.string() | ||
.optional() | ||
.describe( | ||
'Render the response according to the specified UI view (overridden by sysparm_fields)', | ||
), | ||
sysparmQueryNoDomain: z | ||
.boolean() | ||
.optional() | ||
.describe( | ||
'True to access data across domains if authorized (default: false)', | ||
), |
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.
Why have you removed these params?
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.
Fixed
sysparmSuppressAutoSysField: z | ||
.boolean() | ||
.optional() | ||
.describe( | ||
'True to suppress auto generation of system fields (default: false)', | ||
), | ||
sysparmView: z | ||
.string() | ||
.optional() | ||
.describe( | ||
'Render the response according to the specified UI view (overridden by sysparm_fields)', | ||
), | ||
sysparmQueryNoDomain: z | ||
.boolean() | ||
.optional() | ||
.describe( | ||
'True to access data across domains if authorized (default: false)', | ||
), |
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.
Same with these, can we add them back?
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.
Fixed
@awanlin this is a pull request to version bump PR that already contains changeset, so no need to add it here. |
Signed-off-by: Diana Janickova <[email protected]>
Hey, I just made a Pull Request!
Updated the relevant functions to use the provided zod param for validation. This also required some changes to types and minor fixes in tests which were using nonexistent keys.
✔️ Checklist
Signed-off-by
line in the message. (more info)