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

Add copy-param to builtins #854

Merged
merged 11 commits into from
Jun 27, 2024
Merged

Add copy-param to builtins #854

merged 11 commits into from
Jun 27, 2024

Conversation

jmcook1186
Copy link
Contributor

Types of changes

  • Enhancement (project structure, spelling, grammar, formatting)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

A description of the changes proposed in the Pull Request

Adds copy-param to builtins
Closes #853

Signed-off-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com>
* Checks for required fields in input.
*/
const validateSingleInput = (input: PluginParams, parameter: string) => {
if (!input[parameter]) {
Copy link
Member

Choose a reason for hiding this comment

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

please use zod validator to validate (you can check zero-tolerant plugins branch)

src/builtins/copy-param/README.md Outdated Show resolved Hide resolved
src/builtins/copy-param/README.md Outdated Show resolved Hide resolved
jmcook1186 and others added 2 commits June 26, 2024 14:48
Co-authored-by: Manushak Keramyan <manushak.keramyan@gmail.com>
Signed-off-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com>
Co-authored-by: Manushak Keramyan <manushak.keramyan@gmail.com>
Signed-off-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com>
@jmcook1186 jmcook1186 merged commit d59c570 into main Jun 27, 2024
2 checks passed
@jmcook1186 jmcook1186 deleted the add-copy-param-builtin branch June 27, 2024 13:35
This was referenced Jun 28, 2024
@github-actions github-actions bot mentioned this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add copy-param as an IF builtin
3 participants