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

bug: Cannot implement Kotlin interface DgsReactiveCustomContextBuilderWithRequest in Java #2023

Open
petrmac opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@petrmac
Copy link

petrmac commented Sep 30, 2024

Please read our contributor guide before
creating an issue.

Expected behavior

Interface should be possible to implement

Actual behavior

When trying to implement the interface in Java project, the interface is not visible:

error: cannot find symbol
public class CredentialsContextBuilder implements DgsReactiveCustomContextBuilderWithRequest<CredentialsContext> {
                                                  ^
  symbol: class DgsReactiveCustomContextBuilderWithRequest

Steps to reproduce

Implement the interface in Java project (not Kotlin).
Using the version: graphql-dgs-reactive-9.1.0.jar

Initially was using:
implementation "com.netflix.graphql.dgs:graphql-dgs-webflux-starter"
but now migrated to the newly endorsed
implementation "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter"

Any help would be greatly appreciated!

@petrmac petrmac added the bug Something isn't working label Sep 30, 2024
@asibross asibross self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants