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

[INTERNAL] Schema: Update error messages / fix framework schema #292

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Mar 26, 2020

Thank you for your contribution! 🙌

To get it merged faster, kindly review the checklist below:

Pull Request Checklist

@matz3 matz3 requested review from KlattG and RandomByte March 26, 2020 15:37
@matz3 matz3 mentioned this pull request Mar 26, 2020
3 tasks
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 89.722% when pulling f490224 on update-schema into 7f24f6c on master.

Copy link
Contributor

@KlattG KlattG left a comment

Choose a reason for hiding this comment

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

Ich habe noch zwei weitere 'shoulds' gefunden - bitte ebenfalls in 'must' ändern. Danke.

{
dataPath: "/framework",
keyword: "required",
message: "should have required property 'name'",
Copy link
Contributor

Choose a reason for hiding this comment

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

must have required property 'name'

Copy link
Member Author

Choose a reason for hiding this comment

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

That's the message coming from the "ajv" library. It's just here as we compare the whole error objects returned by ajv. But we won't use it to create our messages.

{
dataPath: "/framework",
keyword: "required",
message: "should have required property 'name'",
Copy link
Contributor

Choose a reason for hiding this comment

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

must have required property 'name'

Copy link
Member Author

Choose a reason for hiding this comment

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

Same here. Sorry for the confusion.

Copy link
Contributor

@KlattG KlattG left a comment

Choose a reason for hiding this comment

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

Looking good then. Thanks!

@matz3 matz3 merged commit ca554e6 into master Mar 30, 2020
@matz3 matz3 deleted the update-schema branch March 30, 2020 08:06
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.

4 participants