Skip to content

Conversation

@kchadha
Copy link
Contributor

@kchadha kchadha commented Jun 15, 2018

Add validation for sb3 projects with comments.

Added test fixtures for 2 sb3 projects with comments. One is a valid project, and the other is an invalid project (has a property of the wrong type for one of the comments).

This should issue a minor version bump because there is a new feature but no breaking changes.

thisandagain
thisandagain previously approved these changes Jun 15, 2018
Copy link
Contributor

@thisandagain thisandagain left a comment

Choose a reason for hiding this comment

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

Looks good! One minor change that we be nice to have prior to landing.

"type": "object",
"properties": {
"blockId": {"$ref": "#/definitions/optionalString"},
"text": {"type": "string"},

This comment was marked as abuse.

@kchadha
Copy link
Contributor Author

kchadha commented Jun 15, 2018

@thisandagain, added an 8000 character limit.

@kchadha kchadha force-pushed the comment-validation branch from 0668a90 to 328b5a3 Compare June 15, 2018 21:49
@kchadha kchadha merged commit ef78ed1 into scratchfoundation:master Jun 18, 2018
@kchadha
Copy link
Contributor Author

kchadha commented Jun 18, 2018

🎉 This PR is included in version 4.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants