perf(backend): remove validation on recipe summary response (#718)

* count responses

* perf(backend):  remove validation on recipe summary response

use the construct() method from pydantic to reduce get time as well as optimize the SQL query for recipes

* update UI to support new categories/tags

* fix(backend): 🐛 restrict recipes by group

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-10-02 22:07:29 -08:00
committed by GitHub
parent f9829141c0
commit 568215cf70
10 changed files with 82 additions and 37 deletions

View File

@@ -182,7 +182,7 @@
<RecipeCategoryTagSelector
v-if="form"
v-model="recipe.recipeCategory"
:return-object="false"
:return-object="true"
:show-add="true"
:show-label="false"
/>
@@ -200,7 +200,7 @@
<RecipeCategoryTagSelector
v-if="form"
v-model="recipe.tags"
:return-object="false"
:return-object="true"
:show-add="true"
:tag-selector="true"
:show-label="false"