-
Notifications
You must be signed in to change notification settings - Fork 744
docs(sdk/java) cookbook #9848
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
base: main
Are you sure you want to change the base?
docs(sdk/java) cookbook #9848
Conversation
fe0607b
to
cda6a29
Compare
@dagger/docs Is that better to complete all the cookbook sections then merge it, or to merge with the actual state then open other PRs for the missing sections? |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Both options are fine, so long as you ensure that each PR covers one (or more) complete sections rather than individual recipes (as otherwise it will look very inconsistent). |
|
||
<TabItem value="Java"> | ||
|
||
```java file=./snippets/copy-dir/java/MyModule.java |
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.
Not sure if this is an oversight but in other sections of the docs we have created a complete module and directory tree structure for each snippet. We should do the same here, as that will make it easier to implement automated testing in future.
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.
🤔 I think I saw that on some other docs section and as it was easier to do... But maybe I'm wrong.
I'll use complete module structure 👍
@Object | ||
public class MyModule { | ||
@Function | ||
public Container clone(String repository, String locator, String ref) { |
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.
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
8a761b6
to
77c4741
Compare
Signed-off-by: Yves Brissaud <gh@lgtd.io>
77c4741
to
59d425a
Compare
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Java SDK Cookbook