-
Notifications
You must be signed in to change notification settings - Fork 27
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
Am I Using Ox Correctly? #199
Comments
Am I the only one using Ox? Gosh, I sure hope not. :) I've refactored my above house project to minimize Ox exposure / usage. To do so, though, I had to use Otherwise, And the Ox docs recommend against using a class constructor to pass Yet For instance,
... |
By adding a Tapir endpoint and removing the Helidon server, I was able implement the ideal Dispatcher with:
Yet, I was unable to add required Schema(s) to implement Jsoniter support for my Tapir endpoint. Nothing worked. |
Let me address these one by one :) First - is anybody using Ox? no idea :) But I think it would be be to post usage questions to the forum, as not many people might be following new GitHub issues. Also, Ox is still an 0.x project, hence it might (and I hope it will!) experience changes to the API. Secondly, your project:
As for
Probably, but you'd need to write more on what you exactly mean by that :)
Some more details would be needed here - what kind of error messages did you get, and what did you write in code. |
Thanks for the reply, Adam! Sorry, I don't do Discord; hence my post on Github. Using As for No worries on IO. I understand Ox is in flux. I was just trying to follow the docs. And I'll adjust as Ox evolves. I was thinking the Ox plugin could print out any and all IO relevant information useful to developers. I figured you and your team might have some ideas. :) I wrote my thoughts down on Tapir here: https://github.com/objektwerks/house/blob/main/README.md I wouldn't read too much into it. My experience with Tapir is quite limited. And the old-school approach works just fine. Thanks, again, for your time. Cheers! :) |
I also dislike Discord ;) The forum is Discourse - something quite different.
Ah ok. That's what generally
That's also what Thanks for testing Tapir & Ox, if you would have any specific questions on the derivation problems, please open new threads / issues. |
Ok, Adam, I just plugged in I've located the Discourse SoftwareMill forum. I'll check it out. And, perhaps, I can get my Tapir schema issues resolved. ;) Note: Via this project Sttp-Tapir, I managed sort out the schema derivation issue with Scala 3 enums --- which will require a fair amount of code for my House project. I'll resort to Discourse should I have max inline errors and the like. Thanks, again, for your time! Cheers! :) |
I've been following Ox since its inception: https://github.com/objektwerks/ox
I recently added Ox to this project: https://github.com/objektwerks/house
See: Endpoint, Dispatcher and Handler.
Am I using Ox correctly in this app?
Any comments would be most welcome. Otherwise, I'll assume I'm an Ox genius. ;)
The text was updated successfully, but these errors were encountered: