fix: broken relative imports for proto output types generation
Summary
- Fixed broken relative imports for output types generation
- Added possibility to generate interfaces for folder containing subfolders of .proto files
- Refactored get_directories to return only first-level directories
- Covered with the tests case when imports can be not generated
Checklist
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [x] This PR fixes an issue. #472 #441
- [ ] This PR adds something new (e.g. new method or parameters).
- [ ] This change has an associated test.
- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [ ] This PR is not a code change (e.g. documentation, README, ...)
Can you check please? @danielgtaylor, @Gobot1234
Please can you add a test for this case?
Please can you add a test for this case?
Done, can you check?
@Gobot1234 @danielgtaylor
@Gobot1234 Can you process with review?
Please can you run the code through black
@Gobot1234 fixed pre-commit hooks issues
@Gobot1234 is any chance this fix will be released in next weeks/month?
@Gobot1234 , @danielgtaylor Any news guys?
Not sure why linux CI is failing
Hi @danielgtaylor , i am also facing the broken relative imports issue. when can we merge this PR ?
It will be merged when the CI is fixed