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

feat: Add Session Module 3 #449

Merged
merged 22 commits into from
Apr 1, 2024
Merged

feat: Add Session Module 3 #449

merged 22 commits into from
Apr 1, 2024

Conversation

kkumar-gcc
Copy link
Member

Closes: goravel/goravel#357
Related PR: #428, #436

πŸ“‘ Description

add start_session middleware

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

@kkumar-gcc kkumar-gcc marked this pull request as draft March 27, 2024 08:21
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 68.88889% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 71.61%. Comparing base (45a33f3) to head (10d5a61).

Files Patch % Lines
session/middleware/start_session.go 75.00% 5 Missing and 4 partials ⚠️
session/service_provider.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #449   +/-   ##
=======================================
  Coverage   71.61%   71.61%           
=======================================
  Files         167      168    +1     
  Lines       10134    10176   +42     
=======================================
+ Hits         7257     7288   +31     
- Misses       2317     2324    +7     
- Partials      560      564    +4     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@kkumar-gcc kkumar-gcc marked this pull request as ready for review March 29, 2024 16:46
@kkumar-gcc kkumar-gcc requested a review from hwbrzzl March 29, 2024 16:47
@kkumar-gcc kkumar-gcc requested a review from a team March 30, 2024 06:28
Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

}

// Retrieve session driver
d, err := session.Facade.Driver()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

And add the judgment:

image
Suggested change
d, err := session.Facade.Driver()
driver, err := session.Facade.Driver()

Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘

@kkumar-gcc kkumar-gcc enabled auto-merge (squash) April 1, 2024 07:01
@kkumar-gcc kkumar-gcc merged commit c5c4e0d into master Apr 1, 2024
7 of 8 checks passed
@kkumar-gcc kkumar-gcc deleted the kkumar-gcc/#357 branch April 1, 2024 07:03
kkumar-gcc

This comment was marked as resolved.

kkumar-gcc added a commit that referenced this pull request Aug 4, 2024
* remove contentType from stream method

* chore: update mocks

* add ResponseStatus in the stream

* chore: update mocks

---------

Co-authored-by: kkumar-gcc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ [Feature] Add Session Module
2 participants