question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Validation of lists

See original GitHub issue

Hi.

I want to ask if currently cerberus allow us to validate lists? I may have a simple input doc in the list form:

[{"id": 1}, {"id": 2}]

Is it possible to validate it?

I know that I may wrap this in a dict and use the standard validation, but I was wandering if it’s possible without dict.

Thx.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

61reactions
funkyfuturecommented, Apr 1, 2016

have you (considered to) read the documentation?

17reactions
funkyfuturecommented, Apr 1, 2016

sorry, i should have read your initial post more carefully. so, no it’s not possible and i don’t think a method that wraps data and rules into a document and a schema is really necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validating Lists in a Spring Controller - Baeldung
In this tutorial, we'll go over ways to validate a List of objects as a parameter to a Spring controller. We'll add validation...
Read more >
Validation of a list of objects in Spring - Stack Overflow
I found another approach that works. The basic problem is that you want to have a list as your input payload for your...
Read more >
Using validation lists - IBM
Validation list objects provide a method for applications to securely store user-authentication information. For example, the Internet Connection Server ...
Read more >
Excel Drop Down Lists - Data Validation - Contextures
Easy steps to make drop down list wth Excel data validation. Show list of valid entries, reduce data entry errors.
Read more >
Apply data validation to cells - Microsoft Support
Select one or more cells to validate. · On the Data tab, in the Data Tools group, click Data Validation. · On the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found