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

compilation error: fusionauth/Client.go:4637:81: undefined: UserinfoResponse #72

Open
rschilham opened this issue Mar 29, 2023 · 6 comments

Comments

@rschilham
Copy link

Today, after upgrading to the latest version I got the following compilation errors:

github.com/FusionAuth/go-client/pkg/fusionauth
../../../go/pkg/mod/github.com/!fusion!auth/go-client@v0.0.0-20230329000531-fe9962acdce5/pkg/fusionauth/Client.go:4637:81: undefined: UserinfoResponse
../../../go/pkg/mod/github.com/!fusion!auth/go-client@v0.0.0-20230329000531-fe9962acdce5/pkg/fusionauth/Client.go:4638:11: undefined: UserinfoResponse

@mooreds
Copy link
Contributor

mooreds commented Apr 3, 2023

Replication steps:

  • git clone git@github.com:FusionAuth/go-client.git
  • cd go-client
  • sb test

@mooreds mooreds added the bug Something isn't working label Apr 3, 2023
@mooreds
Copy link
Contributor

mooreds commented Apr 3, 2023

@rschilham, I think the issue is that you are not using a released version of the code. When I check out the latest released version (1.44), the code compiles.

@mooreds mooreds removed the bug Something isn't working label Apr 3, 2023
@rschilham
Copy link
Author

rschilham commented Apr 3, 2023

Ok, but then the installation instructions in README.md should perhaps be

go get github.com/FusionAuth/go-client/pkg/fusionauth@1.44.0

instead of

go get github.com/FusionAuth/go-client/pkg/fusionauth

mooreds added a commit that referenced this issue Apr 3, 2023
this shows how to install at a given version and addresses #72
@mooreds
Copy link
Contributor

mooreds commented Apr 3, 2023

Fair point.

Can you review #73 and see if it addresses your concerns, @rschilham ?

@oottinger
Copy link

I too am running into this issue. What's the best way to determine the list of released client versions? When I browse to the releases I only see a single release that looks quite old.

https://github.com/FusionAuth/go-client/releases

@mooreds
Copy link
Contributor

mooreds commented Apr 6, 2023

@oottinger you can use the tags view: https://github.com/FusionAuth/go-client/tags

Here's guidance on which client to use based on which version of FusionAuth you are using: https://fusionauth.io/docs/v1/tech/client-libraries/#versioning

Thanks!

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

Successfully merging a pull request may close this issue.

3 participants