We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's just a concept. Not yet decided if it will be included in future.
Add nullable flags state which will means that none of the actions were performed.
To proof concept we'll look at Classic\Accept flag there could be 3 states:
Classic\Accept
is_accepted = null
is_accepted = true
is_accepted = false
NULL
withNotYetAccepted
true
null
withoutNotYetAccepted
onlyNotYetAccepted
FALSE
withRejected
false
withoutRejected
onlyRejected
NULL + FALSE
The main issue here that all FALSE scopes removes global scope, and entities with NULL flag will be displayed then.
// :TODO: Write test case and try to implement nullable flag
Or find another solution, like extra database table to display what entities was not accepted or rejected yet.
accepted
rejected
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's just a concept. Not yet decided if it will be included in future.
Add nullable flags state which will means that none of the actions were performed.
To proof concept we'll look at
Classic\Accept
flag there could be 3 states:is_accepted = null
- Not accepted and not rejected yet.is_accepted = true
- Entity was accepted.is_accepted = false
- Entity was rejected.Scopes
NULL
withNotYetAccepted
will gettrue
+null
entities.withoutNotYetAccepted
will omit onlynull
entities.onlyNotYetAccepted
will get onlynull
entities.FALSE
withRejected
will gettrue
+false
entities.withoutRejected
will omit onlyfalse
entities.onlyRejected
will get onlyfalse
entities.NULL + FALSE
null
+false
+true
entities. Right nowwithRejected
method is removing global scope.The main issue here that all
FALSE
scopes removes global scope, and entities withNULL
flag will be displayed then.// :TODO: Write test case and try to implement nullable flag
Or find another solution, like extra database table to display what entities was not
accepted
orrejected
yet.The text was updated successfully, but these errors were encountered: