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

(CONT-967) Replace all uses of validate_*() with assert_type() #206

Merged

Conversation

david22swan
Copy link
Member

The process of removing all deprecated functions from stdlib has begun, so we now need to replace all mentions of validate_*() with the built in assert_type() function.

@david22swan david22swan requested a review from a team as a code owner May 15, 2023 11:17
@puppet-community-rangefinder
Copy link

wsus_client is a class

that may have no external impact to Forge modules.

wsus_client::setting is a type

that may have no external impact to Forge modules.

This module is declared in 1 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@david22swan david22swan force-pushed the BUGFIX/main/remove_validate_legacy branch from a241b7c to 2f66640 Compare May 15, 2023 12:12
The process of removing all deprecated functions from stdlib has begun, so we now need to replace all mentions of validate_*() with the built in assert_type() function.
@david22swan david22swan force-pushed the BUGFIX/main/remove_validate_legacy branch from 2f66640 to 3ccd3d0 Compare May 15, 2023 12:43
@david22swan david22swan changed the title (BUGFIX) Replace all uses of validate_*() with assert_type() (CONT-967) Replace all uses of validate_*() with assert_type() May 15, 2023
@jordanbreen28 jordanbreen28 merged commit a767382 into puppetlabs:main May 15, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants