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: pkg/fusionauth/Domain.go:2858:16: undefined: double #57

Open
rschilham opened this issue Aug 10, 2021 · 2 comments
Open

Comments

@rschilham
Copy link

After upgrading to the latest version I get the following compilation errors:

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

../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Domain.go:2858:16: undefined: double
../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Domain.go:2859:16: undefined: double
../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Domain.go:4453:16: undefined: double

@robotdan
Copy link
Member

robotdan commented Aug 11, 2021

I think the go client pulls from master which isn't always actually released.

However, it looks like we are using double instead of float64 and float instead of float32 for Go in our builder.

It looks like our builder is incorrect for float and double.
https://github.com/FusionAuth/fusionauth-client-builder/blob/e44bf2ed46096d5411b9da43fc79bc5c73f0a9fc/src/main/client/_macros.ftl#L44

@mooreds not sure if there is much we can do about the Go client pulling from master - assuming that is just the pattern Go uses?

robotdan added a commit to FusionAuth/fusionauth-client-builder that referenced this issue Aug 11, 2021
@robotdan
Copy link
Member

robotdan commented Aug 11, 2021

Thanks for reporting @rschilham - much appreciated!!
The domain should be fixed under 10e9f82

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

No branches or pull requests

2 participants