goose
goose copied to clipboard
Intelligent Args Validation
Issues
Args validation just checks if it is edn
serializable. edn
serializes anonymous & symbolized functions too, which isn't supported by Goose as they cannot be stored somewhere and retrieved in a different JVM.
Possible solutions:
Try them out, they aren't tested at time of writing
- Check if parents of said object are serializable?
- Define an exhaustive list of allowed types and validate against them
- Refer https://github.com/ptaoussanis/nippy for the exhaustive list
- Refer Sidekiq best practices on job params