Ringloop / mr-plow

Minimal memory usage, cloud native logstash alternative
Apache License 2.0
28 stars 3 forks source link

Json Field validation #46

Open giorgiozoppi opened 2 years ago

giorgiozoppi commented 2 years ago

func validateJsonFields(_ []JSONField, _ int) error { //TODO return nil } @DarioBalinzo @feed3r This is pretty weird, could you point out which kind of validation is required? Just to have some context

DarioBalinzo commented 2 years ago

This is a refuse, We forgot to implement it:

- name: bank_account
  type: String

if you look the last example of the readme, when we have a cast in the yml, then both name and type must be present, or none of them