-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
refactor: remove restricted session field #7543
refactor: remove restricted session field #7543
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7543 +/- ##
==========================================
- Coverage 93.96% 93.93% -0.03%
==========================================
Files 181 181
Lines 13279 13279
==========================================
- Hits 12477 12474 -3
- Misses 802 805 +3
Continue to review full report at Codecov.
|
🎉 This change has been released in version 5.0.0-beta.1 |
🎉 This change has been released in version 5.0.0 |
New Pull Request Checklist
Issue Description
The
_Session
fieldrestricted
for the feature of restricted sessions is not in use by Parse Server internally. It is a code artifact of a feature that according to comments has not been ported from Parse.com to Open Source Parse Server.This is a Parse Server internal field without any internal logic attached to it. The field is unlikely to be used by developers, so instead of deprecating it, we'll remove the field as a sudden breaking change with Parse Server 5.0. If a developer was using the field, the change for a developer would simply be setting the field
false
in theSession.beforeSave
trigger.See
Related issue: 6612
Approach
_Session
fieldrestricted
from schemarestricted
tofalse
by default when creating a new sessionTODOs before merging