Skip to content

Add split options validation #22

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

Open
gameformush opened this issue Mar 10, 2021 · 0 comments
Open

Add split options validation #22

gameformush opened this issue Mar 10, 2021 · 0 comments

Comments

@gameformush
Copy link
Contributor

Currently if one misses opts parameter like that

(c/split (c/json-path "$.*")
      (c/process set-version-and-mfc-id)

clj-camel will just ignore first process w/o any errors or warnings

The proper way of using split

(c/split (c/json-path "$.*") {}
  (c/process set-version-and-mfc-id)

Validation should be added to check that opts is always a map

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

No branches or pull requests

1 participant