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

Documentation reports that Output-based functions aren't available in Java yet #1264

Open
kylepl opened this issue Nov 3, 2023 · 1 comment
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@kylepl
Copy link

kylepl commented Nov 3, 2023

What happened?

Documentation says Output-based functions aren't available in Java yet, even though they are being generated now.

While this points to a specific package, since I assume the examples are generated, perhaps there needs to be a centralized fix. Not sure what the flow is.

Example

When you view https://www.pulumi.com/registry/packages/digitalocean/api-docs/getdomain/, for Java, it says // Output-based functions aren't available in Java yet, despite the fact if you look at the JAR, it has:

public static Output<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options) {
    return Deployment.getInstance().invoke("digitalocean:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options));
}

public static CompletableFuture<GetDomainResult> getDomainPlain(GetDomainPlainArgs args, InvokeOptions options) {
    return Deployment.getInstance().invokeAsync("digitalocean:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options));
}

Output of pulumi about

Not applicable.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@kylepl kylepl added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Nov 3, 2023
@justinvp justinvp removed the needs-triage Needs attention from the triage team label Nov 4, 2023
@YanishR
Copy link

YanishR commented Jul 15, 2024

Hello,
What is the status of this? Will it be addressed soon?
Is there any work-around suggested?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

3 participants