Skip to content

PDJB-NONE: add isExpired accessor for JL invitation#1401

Merged
samyou-softwire merged 3 commits into
mainfrom
feat/PDJB-NONE-add-invitiation-expired-helper
Jun 4, 2026
Merged

PDJB-NONE: add isExpired accessor for JL invitation#1401
samyou-softwire merged 3 commits into
mainfrom
feat/PDJB-NONE-add-invitiation-expired-helper

Conversation

@samyou-softwire
Copy link
Copy Markdown
Contributor

to be used for PDJB-300 and other tickets dealing with expired invitations

@samyou-softwire samyou-softwire self-assigned this Jun 3, 2026
Copy link
Copy Markdown
Contributor

@TomHanmer29 TomHanmer29 left a comment

Choose a reason for hiding this comment

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

Just want to clarify one bit of logic/naming but otherwise seems sensible!

Copy link
Copy Markdown
Contributor

@TomHanmer29 TomHanmer29 left a comment

Choose a reason for hiding this comment

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

Just read Rowan's comments on #1402 and agree we should probably add some unit tests with edge cases for this :)

@samyou-softwire
Copy link
Copy Markdown
Contributor Author

agree - product has clarified exactly how they want expiration to work so I'll get on this

@samyou-softwire
Copy link
Copy Markdown
Contributor Author

added some tests @TomHanmer29, based on this from product (if the invitation expiry date was 06/06)

"I think it should expire at midnight on 06/06 so that’d be the last day it’s valid"

Copy link
Copy Markdown
Contributor

@TomHanmer29 TomHanmer29 left a comment

Choose a reason for hiding this comment

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

Tiny comment on tests, but happy that this aligns with the product decision.

@samyou-softwire samyou-softwire added this pull request to the merge queue Jun 4, 2026
Merged via the queue into main with commit 3602693 Jun 4, 2026
8 checks passed
@samyou-softwire samyou-softwire deleted the feat/PDJB-NONE-add-invitiation-expired-helper branch June 4, 2026 14:50
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