-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update mockery version * fix typos in Authentication, resource and constructor * fix route for auth unit tests * remove error that is always nil * add TODO to the changes to be done in the session service * add error management to middlewareJSON * add CommandInitializer to init configuration keys * init database configuration keys * init session configuration keys * init initialization configuration keys * init server configuration keys * init logger configuration keys * remove unused r.md file in commands * move time to utils * create super user when adding the auth controller * update info controller and routes creation * change the way badaas server is created * move test e2e to test_e2e/ and docker to docker/ * do not run auto migration on test e2e execution + automigration refactor * update docs and developers utils * remove unnecesary init.sh for cockroach and add health check * move db connection to orm module and make automigration possible by fx * info and auth modules now also provide the corresponding services and middlewares * use gotestsum to run tests + create tests report + tool to install dependencies * add base models to orm * add crud services and repositories in orm module * adapt existing services and controllers to use orm module * add integration tests * update documentation * update changelog * add support for operators in conditions * add noteq * add lt * add ltoreq * add gt * add gtoreq * add isnull * add isnotnull * add is true * add is not true * add is false * add is not false * add is unknown * add is not unknown * add is distict * add is not distict * add array in * add array not in * add like * add between * add not between * add and * add or * add not * add unsafe conditions * use all coverage files in sonar * ignore all tests results * update changelog * create mocks for new types * replace inverse join generation by inverse reference in models * table class in place of strings for table name * update to conditions generation that fix embedded names * refactor: add field identifier * add possibility to do preload * support nested preloads * add a way to know if a relation was loaded or not * list and nested attributes preload * update mocks * update changelog * cli: preload
- Loading branch information
1 parent
19c9371
commit 826a8e5
Showing
109 changed files
with
4,436 additions
and
978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
lint: | ||
golangci-lint run | ||
|
||
test_unit: | ||
test_unit: clean_test_unit_results | ||
go test ./... -v | ||
|
||
clean_test_unit_results: | ||
rm -f cmd/gen/conditions/*_conditions.go | ||
rm -f cmd/gen/conditions/tests/**/badaas-orm.go | ||
|
||
.PHONY: test_unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package conditions | ||
|
||
type CodeGenerator[T any] interface { | ||
Into(file *File) error | ||
ForEachField(file *File, fields []Field) []T | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.