Skip to content
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

V1 #20

Merged
merged 24 commits into from
Nov 5, 2022
Merged

V1 #20

merged 24 commits into from
Nov 5, 2022

Conversation

maranqz
Copy link
Member

@maranqz maranqz commented Nov 5, 2022

No description provided.

maranqz added 23 commits October 2, 2022 19:18
1. moving context in transaction pkg
2. moving manager in transaction pkg
3. added sql integration
1. moving setting, manager in package
2. fix linter
1. add settings in manager
2. update Tr interfaces
3. add timeout in settings
1. Create Settings interface
2. Create Transaction interface
3. Move manager to common part
1. add errors
2. implement PropagationNever, PropagationsMandatory, PropagationRequired
1. implement PropagationNested, PropagationNotSupported, PropagationRequiresNew
2. settings can be updated
3. Run transaction with settings
1. add simple unit test on manager
1. add tests on panic, commit, rollback and all propogation
2. fix error returning
3. fix rollback without error
1. add tests on panic, commit, rollback and all propogation
2. fix error returning
3. fix rollback without error
1. decrease go version
2. fix sqlx contract
1. add ChainedMW, tests, example
2. add test for sql, sqlx Transaction
1. fix settings
2. add propagation of context err
3. fix deactivating commit, rollback after cancel
4. add settings for cancel and timeout transaction
5. rename NewFactory to NewDefaultFactory
6. fix isActive for goroutines
7. use isActive to check before close transaction, add ErrAlreadyClosed
1. Add MongoDB integration with tests
2. add settings in TrFactory
3. remove unnecessary setting
1. move save point only in sql
2. add settings in mongo, sql
1. add example
2. add error for Options
3. add Must function
4. add badges
5. rename transaction package to trm
6. add codecoverage in pull request
7. add mongo test with real database
@maranqz maranqz added this to the v1 milestone Nov 5, 2022
# Conflicts:
#	go.mod
#	go.sum
@maranqz maranqz merged commit 7b432d6 into main Nov 5, 2022
@maranqz maranqz deleted the v1 branch November 5, 2022 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant