Conversation
|
The question right now would be: Is this going in the right direction? |
899661c to
e84f01f
Compare
|
I think this feature works nicely now and does not hurt ergonomics too much, but I could use some opinions on particularly the ergonomics of the |
marcoow
left a comment
There was a problem hiding this comment.
My general feeling is on the one hand side, I can see how this is useful in some cases while on the other hand, it introduces a ton of new concepts and accidental complexity… I'm a bit torn – might well be good to have this but likely opt-in. At the same time, I'm not sure this should be the priority for now when we have a number of other things to figure out first:
- relations between entities
- some kind of background job functionality
- deployment story (might only be documentation but I guess regarding e.g. how to run migrations on production during deployment, we have some blind spots)
@marcoow thanks for the insight. I agree we may need to do some more thinking/experimenting before adding a feature like this. I'll add issues for the things you listed |
|
@hdoordt I wouldn't necessarily suggest to close this – I think it can be useful and we could do it at some point, I just think we'd need to think about how we add this exactly |
I don't know what happened there, but closing the PR was not intentional. Reopening it |
|
Sharing some of our experience in Loco, it seems like OpenAPI support is highly sought after, but (using utoipa or not) can introduce a lot of cruft, friction and redundant information that has to be typed manually. So this echoes @marcoow 's experience. Personally, I'm still trying to figure out - is it OpenAPI that is needed by intent or "a way to create a client for the API magically". I believe the key is figuring out the intent for the OpenAPI requirement. I'm still deliberating on this myself. |
a14dbdb to
2ba0a72
Compare
Very much an experiment as of right now, but this PR aims to: