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

Entitlement: Update ends_at and starts_at to be nullable, not optional #7288

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

colinloretz
Copy link
Contributor

Fixes #7268

@colinloretz colinloretz requested a review from a team as a code owner November 26, 2024 21:20
@colinloretz colinloretz requested review from JustinBeckwith and appellation and removed request for a team November 26, 2024 21:20
@colinloretz colinloretz changed the title Update ends_at and starts_at to be nullable, not optional Entitlement: Update ends_at and starts_at to be nullable, not optional Nov 26, 2024
@MCausc78
Copy link
Contributor

Why not stop sending fields as expected per documentation?

Comment on lines 23 to 24
| starts_at | ?ISO8601 timestamp | Start date at which the entitlement is valid. Not present when using test entitlements. |
| ends_at | ?ISO8601 timestamp | Date at which the entitlement is no longer valid. Not present when using test entitlements. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Not present when using test entitlements.

I believe this should be amended if this is always present, or null, or otherwise?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, thank you! We should have updated these for the entitlement migration but they were missed.

@colinloretz colinloretz merged commit e70f3ce into main Dec 2, 2024
4 checks passed
@colinloretz colinloretz deleted the update-ends-at branch December 2, 2024 20:29
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.

Entitlement object's starts_at and ends_at is nullable, but is not documented as such
4 participants