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

Update error message when breaking changes are detected #6784

Merged
merged 4 commits into from
Jul 24, 2023

Conversation

danieltabacaru
Copy link
Collaborator

What, How & Why?

Fixes #6690.

☑️ ToDos

  • 📝 Changelog update
  • 🚦 Tests (or not relevant)
  • C-API, if public C++ API changed.

@@ -1054,6 +1057,12 @@ static void append_errors(std::string& message, std::vector<ObjectSchemaValidati
}
}

static void append_line(std::string& message, const std::string& line)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we take line as a std::string_view rather than a const std::string& - it looks like you're always calling this with a const char* anyways, so that should avoid having to construct the temporary std::string for the line argument.

@danieltabacaru danieltabacaru marked this pull request as ready for review July 12, 2023 15:17
@danieltabacaru danieltabacaru merged commit fdf34f4 into master Jul 24, 2023
2 checks passed
@danieltabacaru danieltabacaru deleted the dt/breaking_changes_in_dev_mode branch July 24, 2023 15:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update error message to inform users how to delete realm after type or optionality has changed
2 participants