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

GC-2518/fixes letters tracking event validation #209

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

juanfriss
Copy link
Contributor

@juanfriss juanfriss commented Mar 11, 2024

Following this slack thread, given we now allow tracking event for letters, we are removing the max_items: 0 validation from letters.tracking_events

Story

GC-2518

Relates to https://github.com/lob/sdks_openapi_gen/pull/341

@juanfriss juanfriss changed the title fixes validation GC-2518/fixes letters tracking event validation Mar 11, 2024
@@ -97,8 +97,15 @@ class Letter(ModelNormal):
}

validations = {
('tracking_events',): {
'max_items': 0,
('template_id',): {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

same sort of validation postcards or self mailers have

@juanfriss
Copy link
Contributor Author

unfortunately, don't worry about the failing tests - they've been failing for a while now (you can check older PRs)

@juanfriss juanfriss merged commit 864f8ba into main Mar 11, 2024
0 of 3 checks passed
@juanfriss juanfriss mentioned this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants