Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable client side validations #4667

Closed
wants to merge 4 commits into from

Conversation

siddsriv
Copy link
Contributor

@siddsriv siddsriv commented Aug 14, 2024

Removes client-side validators.

Checklist
  • npm run test passes
  • .d.ts file is updated
  • changelog is added, npm run add-change
  • run bundle exec rake docs:api and inspect doc/latest/index.html if documentation is changed
  • run npm run integration if integration test is changed
  • non-code related change (markdown/git settings etc)

@siddsriv siddsriv requested a review from a team as a code owner August 14, 2024 16:56
// this.fail('EnumError', 'Found string value of ' + value + ', but '
// + 'expected ' + shape['enum'].join('|') + ' for ' + context);
// }
// }
},

validateType: function validateType(value, context, acceptedTypes, type) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this returned bool, what is the effect of returning undefined?

// } else if (this.errors.length === 1) {
// throw this.errors[0];
// } else {
// return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function returned bool

// );
// }
// }
// return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the effect of bool to undefined on this?

@siddsriv siddsriv marked this pull request as draft August 14, 2024 20:01
@siddsriv siddsriv closed this Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants