-
Notifications
You must be signed in to change notification settings - Fork 333
[SQServices-1627] Check remaining time of an activated a feature in back office #2564
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
Merged
battermann
merged 21 commits into
develop
from
SQSERVICES-1627-check-remaining-time-of-an-activated-a-feature-in-back-office
Aug 15, 2022
Merged
[SQServices-1627] Check remaining time of an activated a feature in back office #2564
battermann
merged 21 commits into
develop
from
SQSERVICES-1627-check-remaining-time-of-an-activated-a-feature-in-back-office
Aug 15, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79fa65a
to
e4a442a
Compare
b99c0b9
to
6e08765
Compare
6e08765
to
be58c05
Compare
did you run the unit tests locally?
|
fisx
reviewed
Aug 1, 2022
fisx
requested changes
Aug 2, 2022
5d5d4a8
to
068a602
Compare
068a602
to
4382480
Compare
690f0f7
to
5d34298
Compare
5d34298
to
32c486d
Compare
4390eb8
to
6f44ef1
Compare
3f36ae9
to
d3747dc
Compare
…eck-remaining-time-of-an-activated-a-feature-in-back-office
…eck-remaining-time-of-an-activated-a-feature-in-back-office
fisx
approved these changes
Aug 15, 2022
|
||
fromTTL :: FeatureTTL -> Maybe A.Value | ||
fromTTL FeatureTTLUnlimited = Just "unlimited" | ||
fromTTL (FeatureTTLSeconds 0) = Nothing -- Should be unlimited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is also impossible, right?
renderFeatureTtl :: FeatureTTL -> String | ||
renderFeatureTtl = \case | ||
FeatureTTLSeconds d | d > 0 -> " using ttl " <> show d | ||
_ -> " using ttl 0" -- 0 or unlimited (delete a column's existing TTL by setting its value to zero) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, i see. i got that wrong earlier, thanks!
This reverts commit d3747dc.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The changes to the feature endpoint is backward compatible and shouldn't require any specific deploy order.
Checklist