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

"Required" entity loading in HTTP mechanics #470

Closed
jeremydmiller opened this issue Jul 14, 2023 · 0 comments
Closed

"Required" entity loading in HTTP mechanics #470

jeremydmiller opened this issue Jul 14, 2023 · 0 comments
Labels
enhancement New feature or request http
Milestone

Comments

@jeremydmiller
Copy link
Member

See this conversation:

https://hachyderm.io/@[email protected]/110695794643161320

The general idea is to do something that eliminates this whole usage of IResult. You frequently run into HTTP endpoints where you want to first load a related entity, then map it somehow to the response. If the entity does not exist, the route should stop and return a 404.

@jeremydmiller jeremydmiller added http enhancement New feature or request labels Jul 14, 2023
@jeremydmiller jeremydmiller added this to the 1.2.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request http
Projects
None yet
Development

No branches or pull requests

1 participant