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.

investigate supporting --client-side-validation

See original GitHub issue

Other languages support this flag

Whether you want the SDK to perform validation on inputs and outputs, based on swagger information. Recommended to be false for track 2 code, since we want the network to validate instead. Defaults to false.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ramya-rao-acommented, Nov 9, 2021

@sarangan12 Please check back with the autorest feature crew about this. Do we have cases where this flag was useful? From what I recall the recommendation was always to avoid client side validation and expect the service to throw proper errors for wrong input

1reaction
sarangan12commented, Dec 10, 2021

@deyaaeldeen My vote is yes. We are translating everything that is provided in the swagger. So, we could continue the same. However, we have made a org decision that we will not act upon it i.e. not validate it. I am open to alternative viewpoints too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client-side form validation - Learn web development | MDN
This is called client-side form validation, and helps ensure data submitted matches the requirements set forth in the various form controls.
Read more >
Client-Side Form Validation with HTML5 - SitePoint
A look at some of the easy to use form features in HTML5, to help you validate user-entered data before it reaches the...
Read more >
HTML 5 client side validations - ADG
HTML 5 client side validations are a very useful feature: they allow rudimentary validation of user data without submitting anything to the ...
Read more >
Side Validation - an overview | ScienceDirect Topics
Although this example illustrates the server-side validation, ASP.NET automatically writes client-side code to perform the validation. There are various options ...
Read more >
Add client side validation for Bootstrap IFE support - Drupal
Add option to turn client side validation on and off. We don't like how browsers handles client side validation (different visual ...
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