-
Notifications
You must be signed in to change notification settings - Fork 32
Generate fields #185
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
Generate fields #185
Conversation
2.borrow comment from clz
|
Hi @GeTOUO, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
|
I did sign the CLA |
|
#186 fixes CI; if you rebase onto latest master, you'll get the fix here too. |
|
Hello, can I merge these? Or do I need to do something else? This is the first time I submit code to an open source project. Please give me some advice. Thank you. |
update jdk
You can either merge master into this branch, or rebase this branch on top of master (and force-push).
Cool, welcome! The code looks high-quality at first glance, though a testcase highlighting the intended effect might make it a little clearer what exactly is the intent behind it. |
|
the merge went fine, so CI is now able to run, but it's failing with many errors of the form: |
|
@raboof @SethTisue thank you for your guidance.
I'm not familiar with genjavadoc testing yet. The reason I want to add the above functionality is that there is an operation in the project that needs to read field annotations directly. Thank you for your guidance. |
can you explain that more? I don't understand. |
|
Details are as follows: In my project, I need to extract the comment into a json(User.json): In my http interface definition: The response data is response:
The problem I am having now is that it looks like this: This will output arg and field as method: But I hope to get So in my pr, This involves some changes in functionality. If you think this is beyond the scope of genjavadoc, you can turn it off. Thank you. |
|
Yeah, I'd be reluctant to accept a PR that isn't actually about improving Javadoc generation. It sounds to me like something you would be better off keeping in your own fork. (Merging it might seem harmless, but: if we merge it, we would also need to maintain it afterwards, for years to come.) |
1.create field from case class
2.borrow comment from clz
thank!