-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: underscore crate name #38
Conversation
Does normal crates name liked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit test looks fine.
But I am missing an acceptance test.
I think we already have a test crate in the tests folder which could be extended.
Should I create another EDIT: the issue is on the crate name, so the only acceptance test that could be done is by creating a new test crate |
Yes just create another test crate. I noticed this too so I already created a fix: #39 |
Ok so I will rebase once your fix is merged |
PRs have been merged you can now merge main into your branch and create the acceptance test |
Done, you can check. Not sure if that's the best way but it does provide a correct acceptance test. |
acceptance/Cargo.toml
Outdated
@@ -1,5 +1,5 @@ | |||
[workspace] | |||
members = ["crate_segment_path"] | |||
members = ["crate_segment_path", "new_crate_segment_path"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
members = ["crate_segment_path", "new_crate_segment_path"] | |
members = ["crate_segment_path", "folder_in_src"] |
utoipauto.workspace = true | ||
utoipauto-lib-test-new = { path = "../new_crate_segment_path" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utoipauto-lib-test-new = { path = "../new_crate_segment_path" } | |
folder_in_src = { path = "../folder_in_src" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the folder and the name to folder_in_src
The name is more descriptive.
Otherwise your pr looks pretty good.
Thank you for your work :)
Done :) looking forward to help more, this crate has been really useful to simplify our utoipa doc generation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Note: I am not sure if we should introduce a "main" testing crate where we could merge all things that need to be tested across multiple crates (like this pr). Note 2: I do have a plan for creating a larger test crate that tests multiple things maybe we can combine the ideas. Again these notes have nothing todo with this pr! |
@EvolveArt Could you rebase your pr one more time? |
done |
Thanks guy for your work |
Resolves #37
Changes
replace
call as mentioned in the issue's comments