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

Unable to consume go-client v0.0.0-20240624180314-2e401feb55f7 #82

Closed
jakobfaerch opened this issue Jun 25, 2024 · 5 comments
Closed

Unable to consume go-client v0.0.0-20240624180314-2e401feb55f7 #82

jakobfaerch opened this issue Jun 25, 2024 · 5 comments
Labels

Comments

@jakobfaerch
Copy link

When I change my go.mod from referencing
github.com/FusionAuth/go-client v0.0.0-20240613012702-a3bace236e64
to use
github.com/FusionAuth/go-client v0.0.0-20240624180314-2e401feb55f7

I end up with an error from the go compiler stating

 external/com_github_fusionauth_go_client/pkg/fusionauth/Domain.go:4010:2: undefined: LinkedHashMap

It seems like 2e401fe could be the cause, it introduces the sole use of LinkedHashMap in Domain.go. @robotdan authored that.

I see release version commits in the commit history. Could this simply be an error in the way I consume the library?

@TMeireOqton
Copy link

We're seeing the same thing in our project. It seems like the client builder set a dependency on LinkedHashMap in the StatusResponse, without actually generating that type in the repository.

@linear linear bot added DX Go labels Jul 2, 2024
@robotdan
Copy link
Member

robotdan commented Jul 2, 2024

Thanks for reporting @jakobfaerch and @TMeireOqton. Looking ...

@robotdan
Copy link
Member

robotdan commented Jul 2, 2024

Added the type def via 63d9a80.
That should get you going, let us know if it doesn't.

@mooreds
Copy link
Contributor

mooreds commented Jul 2, 2024

@robotdan will this be an issue with any of the other typed languages? .NET comes to mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants