checkarg icon indicating copy to clipboard operation
checkarg copied to clipboard

Add Dict validations

Open dinispeixoto opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

dinispeixoto avatar Apr 21 '21 16:04 dinispeixoto

I started to look at this feature and use the lists validation as a reference. I've listed the following validations for dictionaries.

  • is_not_empty
  • has_length_lower
  • has_length_greater
  • has_length_equals
  • contains_key
  • contains_value
  • all_values_of_same_type
  • all_values_of_type

What do you think about this items?

maurobaraldi avatar Oct 10 '22 19:10 maurobaraldi

I started to look at this feature and use the lists validation as a reference. I've listed the following validations for dictionaries.

  • is_not_empty
  • has_length_lower
  • has_length_greater
  • has_length_equals
  • contains_key
  • contains_value
  • all_values_of_same_type
  • all_values_of_type

What do you think about this items?

They seem good. Those follow what it's planned for this project. Thanks for the input.

tiagogandarezff avatar Oct 11 '22 09:10 tiagogandarezff