-
-
Notifications
You must be signed in to change notification settings - Fork 890
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
Move query join logic into common functions #2763
Comments
From the diesel chat:
You want to use the types from |
* Get rid of Safe Views, use serde_skip - Also change the ViewToVec, to work with non-vector cases. Might be necessary in preparation for #2763 - Fixes #2712 * Forgot one safe --------- Co-authored-by: Nutomic <[email protected]>
* Get rid of Safe Views, use serde_skip - Also change the ViewToVec, to work with non-vector cases. Might be necessary in preparation for #2763 - Fixes #2712 * Forgot one safe --------- Co-authored-by: Nutomic <[email protected]>
All the views have a list version, and a single get version. IE getting a post, and fetching a list of posts.
These views have to do the exact joins, but currently this join code is duplicated. It should probably be possible to move this join logic into a common function to be used by both the single get, and the list versions.
The text was updated successfully, but these errors were encountered: