Skip to content

STD-29 | Add global error handler#19

Merged
WerewolfNet merged 3 commits into
devfrom
STD-29
Sep 13, 2021
Merged

STD-29 | Add global error handler#19
WerewolfNet merged 3 commits into
devfrom
STD-29

Conversation

@SleepyF0X
Copy link
Copy Markdown
Member

No description provided.

@SleepyF0X SleepyF0X self-assigned this Sep 13, 2021
# Conflicts:
#	server/StudySharp.API/StudySharp.API.csproj
#	server/StudySharp.Domain/General/OperationResult.cs
@WerewolfNet WerewolfNet merged commit 8b2ca86 into dev Sep 13, 2021
@WerewolfNet WerewolfNet deleted the STD-29 branch September 13, 2021 20:03
WerewolfNet pushed a commit that referenced this pull request Sep 16, 2021
* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Created IPracticalBlockRepository interface in the StudySharp.Domain/Repositories folder

Created PracticalBlockRepository class in the StudySharp.DomainServices/Repositories folder

* Fixed StudySharpDbContext.cs

* PracticalBlockRepository.cs sealed added

Co-authored-by: SleepyF0X <kotohomka@gmail.com>
WerewolfNet pushed a commit that referenced this pull request Sep 16, 2021
* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Create build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update main.yml

* Update main.yml

* STD-5 | CI\CD (#20)

* Docker support

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update Dockerfile

* Docker support

* Test

* Test db

* Test db v2

* Update main.yml

* Test something

* Test dev mode

* Test dev mode v2

* Test dev mode v3

* Test dev mode v3

* Update main.yml

* Update main.yml

* Added ICourseRepository interface and CourseRepository class

* STD-25 | Added ICourseRepository interface and CourseRepository class

Co-authored-by: SleepyF0X <kotohomka@gmail.com>
WerewolfNet pushed a commit that referenced this pull request Sep 30, 2021
* STD-26 | TheoryBlock Repository (#16)

* ITheoryBlockRepository was added

* TheoryBlockRepo was added
Trying to fix it now

* TheoryBlockRepository.cs was added
I`ll try to fix it now

* TheoryBlockRepository.cs done

* TheoryBlockRepository.cs redacted, pre-dev 1
_context is now readonly
if statement and FindAsync in GetTheoryBlocksByCourseIdAsync was deleted
"potentially deleted if statement" in Update was added

* Minor changes, pre-dev 2
"potentially deleted if statement" comment was removed

* SaveChangesAsync was added, pre-dev 3
"()" in return new OperationResult were removed too

* Method AlternativeResult was added to implement DRY principle, pre-dev 4

* AlternativeResult method changes, pre-dev 5
AlternativeResult was renamed to BuildErrorResponse
Method moved to the end of the TheoryBlockRepository.cs

* STD-24 | Tag Repository (#17)

* Added ITagRepository interface and TagRepository class

* Were realised methods in TagRepository

* Inverted if statements.

Co-authored-by: Егор Павшук <egor.pavshuk@outlook.com>
Co-authored-by: Maria Dodonova <maridodonova@gmail.com>

* Std 27 (#25)

* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Created IPracticalBlockRepository interface in the StudySharp.Domain/Repositories folder

Created PracticalBlockRepository class in the StudySharp.DomainServices/Repositories folder

* Fixed StudySharpDbContext.cs

* PracticalBlockRepository.cs sealed added

Co-authored-by: SleepyF0X <kotohomka@gmail.com>

* Std 25 (#23)

* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Create build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update main.yml

* Update main.yml

* STD-5 | CI\CD (#20)

* Docker support

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update Dockerfile

* Docker support

* Test

* Test db

* Test db v2

* Update main.yml

* Test something

* Test dev mode

* Test dev mode v2

* Test dev mode v3

* Test dev mode v3

* Update main.yml

* Update main.yml

* Added ICourseRepository interface and CourseRepository class

* STD-25 | Added ICourseRepository interface and CourseRepository class

Co-authored-by: SleepyF0X <kotohomka@gmail.com>

* STD-36 | PracticalBlock commands\queries

* Fixed STD-36

* Fixed spaces

* Some fixes

* Rename and Cancellation token

* Fixed Update

* Rename handler

Co-authored-by: zefirlover <71660586+zefirlover@users.noreply.github.com>
Co-authored-by: Egor-Pavshuk <70218372+Egor-Pavshuk@users.noreply.github.com>
Co-authored-by: Егор Павшук <egor.pavshuk@outlook.com>
Co-authored-by: Maria Dodonova <maridodonova@gmail.com>
Co-authored-by: Andrew <47719935+Evenya@users.noreply.github.com>
Co-authored-by: SleepyF0X <kotohomka@gmail.com>
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.

2 participants