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

Allow validation to fail during development #12883

Closed
colinduwe opened this issue Dec 14, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@colinduwe
Copy link

commented Dec 14, 2018

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.

@colinduwe

This comment has been minimized.

Copy link
Author

commented Dec 14, 2018

Is your feature request related to a problem? Please describe.
It would speed custom block development if the block rendered even if it failed validation.

Describe the solution you'd like
If DEBUG_SCRIPT is true and the block being developed has isDev prop set true the block is rendered as returned by .save(), perhaps with a exclamation point or some other indicator that validation failed so data loss may have happened.

@youknowriad

This comment has been minimized.

Copy link
Contributor

commented Feb 8, 2019

While I agree that it's frustrating while developing, I'd still be against disabling it because it may cause actual bugs to go unnoticed.

Thinking we should close this issue for now.

@aduth

This comment has been minimized.

Copy link
Member

commented May 31, 2019

Let's at least consolidate this to #7604.

@aduth aduth closed this May 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.