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.

Add data validation for all requests

See original GitHub issue

Just found out that the launches/upcoming route is showing a “test” launch https://cl.ly/3S2E3y0K041m/Image 2018-02-15 at 2.26.24 PM.png

Was this supposed to happen? 🐛

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rafaelramalho19commented, Feb 16, 2018

I would suggest using Joi. Had a great experience with it in the past.

1reaction
jakewmeyercommented, Feb 15, 2018

Added this to verify that mongo document ID’s would transfer correctly when moving upcoming launches to past launches. Was live for maybe a minute or two at most.

In hindsight, it should’ve been tested on a new collection, not a live one with expectations about data consistency.

Read more comments on GitHub >

github_iconTop Results From Across the Web

More on data validation - Microsoft Support
You can use data validation to restrict the type of data or values that users enter into cells. This is an advanced topic...
Read more >
What is Data Validation? How It Works and Why It's Important
Data validation is an essential part of any data handling task whether you're in the field collecting information, analyzing data, or preparing to...
Read more >
REST API Data Validation - Kamil Grzybek
Introduction. This time I would like to describe how we can protect our REST API applications from requests containing invalid data (data ......
Read more >
Adding Request Validation to API deployments
Using the Console to Add Validation Request Policies · Click the Add button beside Query Parameter Validations and specify details of the first ......
Read more >
Use Excel Data Validation for Entering Dates - Contextures
On the Settings tab of the data validation dialog box, click the Allow drop-down arrow · In the list of validation options, click...
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