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

Better file errors + common import import #235

Merged
merged 2 commits into from
May 17, 2024

Conversation

rooooooooob
Copy link
Collaborator

  • Better error checks/messages for file missing related errors to help debugging as the error was incredibly opaque as to where it originated.

  • Imports correctly from the common import override in serialization.rs files instead of relying on the import super::*; which only works when it's not overrided.

* Better error checks/messages for file missing related errors to help
  debugging as the error was incredibly opaque as to where it
originated.

* Imports correctly from the common import override in `serialization.rs`
files instead of relying on the `import super::*;` which only works when
it's not overrided.
@@ -1028,6 +1038,9 @@ impl GenerationScope {
export_raw_bytes_encoding_trait: bool,
cli: &Cli,
) -> std::io::Result<()> {
// check it exists here to get clearer error message
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is checked all the time instead of just when it's overridden as we still pull out the Cargo.toml files from here regardless.

@rooooooooob rooooooooob merged commit 6688c82 into master May 17, 2024
1 check passed
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