fix: export child relationships (#385)

* tidy

* ensure export contains locations path

* update pnpm lock file

* fix swagger stuff

* code gen

* fix linter issue

* fix reverse order bug in test
This commit is contained in:
Hayden 2023-04-01 15:10:27 -08:00 committed by GitHub
parent 6a853c07a0
commit ced5aef6d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1965 additions and 1686 deletions

View file

@ -13,7 +13,6 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/hay-kot/homebox/backend/app/api/static/docs"
"github.com/hay-kot/homebox/backend/internal/core/services"
"github.com/hay-kot/homebox/backend/internal/data/ent"
"github.com/hay-kot/homebox/backend/internal/data/migrations"
@ -39,7 +38,6 @@ var (
// @version 1.0
// @description Track, Manage, and Organize your Things.
// @contact.name Don't
// @license.name MIT
// @BasePath /api
// @securityDefinitions.apikey Bearer
// @in header
@ -53,8 +51,6 @@ func main() {
panic(err)
}
docs.SwaggerInfo.Host = cfg.Swagger.Host
if err := run(cfg); err != nil {
panic(err)
}