Skip to content

Commit 7ba9b36

Browse files
authored
Dev (#284)
* custom branches * update * update mrt * update mrt * fix infinite query - for now * dayjs plugins * log error response mw * generate table filters and lib updates * refactor mantine react table generated default columns * types * no pagination footer and add sticky header * update * update mrt * lint * try data race fix * mrt update * update * debug ci * debug ci gen * debug * fix entity filters being generated for non gen_db databases * clean
1 parent a96d532 commit 7ba9b36

File tree

277 files changed

+85764
-47968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+85764
-47968
lines changed

bin/.helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ list_descendants() {
8484

8585
# Accepts flags:
8686
# --no-kill Do not immediately exit.
87-
# It does not store information the failed command. To keep track of all failures,
87+
# It does not store information on the failed command. To keep track of all failures,
8888
# use:
8989
# for pid in "${pids[@]}"; do
9090
# cmd=$(jobs -l | grep "$pid")

bin/project

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,10 @@ x.test.backend.watch-for() {
13821382

13831383
test_backend_watch -run "^($fns)$" "$GOMOD_PKG/$dir" "${gotest_args[@]}"
13841384
}
1385+
# Run backend.
1386+
x.run.backend() {
1387+
go run ./cmd/rest-server/main.go -env=.env.$X_ENV
1388+
}
13851389

13861390
# Run backend with hot-reloading.
13871391
x.run.backend-hr() {
@@ -1396,7 +1400,7 @@ x.run.backend-hr() {
13961400
air \
13971401
--build.pre_cmd "$pre_build_cmd" \
13981402
--build.cmd "" \
1399-
--build.bin "go run ./cmd/rest-server/ -env=.env.$X_ENV" \
1403+
--build.bin "go run ./cmd/rest-server/main.go -env=.env.$X_ENV" \
14001404
--build.include_ext "go,work,mod" \
14011405
--build.include_file "openapi.yaml" \
14021406
--build.exclude_regex ".gen.go,_test.go" \
@@ -1790,7 +1794,7 @@ x.test.create-crud-gen() {
17901794
x.test.backend -count=1 "$@"
17911795

17921796
if [[ $X_ENV != "ci" ]]; then # always restore branch if we're running locally
1793-
echo "${GREEN}✅ Tests passing. Forcing exit to restore previous branch.${OFF}"
1797+
echo "${GREEN}✅ Tests passing. Forcing exit 1 to restore previous branch.${OFF}"
17941798
exit 1
17951799
fi
17961800
} 2>&4 | xlog >&3; } 4>&1 | xerr >&3; } 3>&1

cmd/initial-data/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func main() {
116116
handleError(err)
117117

118118
logger.Info("Creating users...")
119-
for i := 0; i < 10; i++ {
119+
for i := 0; i < 50; i++ {
120120
u, err := svc.User.Register(ctx, pool, services.UserRegisterParams{
121121
Username: "user_" + strconv.Itoa(i),
122122
FirstName: pointers.New(testutil.RandomFirstName()),

0 commit comments

Comments
 (0)