-
Notifications
You must be signed in to change notification settings - Fork 24
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
Crystal language support? #19
Comments
Thanks for the suggestion. We are exploring Open API which may let us more easily build out additional clients. In the mean time, if you wanted to take a crack at it - here is the Ruby template we use to build the library. There may be some updates to make to any macros used by the Ruby client as well. If you were to hack on that as a starting point and submit a PR for A quick summary on how the builder works, in the template you'll see we essentially just loop over each API which is just our DSL. Each API definition is here: https://github.com/FusionAuth/fusionauth-client-builder/tree/master/src/main/api The templates are coded in Apache FreeMarker. If you set up the build environment, you can iterate on it by building the library until the syntax is correct. You could copy/paste the ruby build target for Crystal. https://github.com/FusionAuth/fusionauth-client-builder/blob/master/build.savant |
Thanks for the info! I'll give it a shot |
Excellent! |
https://crystal-lang.org/
I know it's a small language popularity wise, but it's something I'm currently using for FusionAuth. I'm just using REST calls to FusionAuth, but would like know if it's an option for FusionAuth to just support it directly. Crystal has a very similar syntax to Ruby, so I would hope that makes it easier.
I'm also open to contribute by adding the implementation as well.
The text was updated successfully, but these errors were encountered: