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

Add ttl_days and history_days #81

Merged
merged 4 commits into from
Feb 21, 2024
Merged

Add ttl_days and history_days #81

merged 4 commits into from
Feb 21, 2024

Conversation

henryfauna
Copy link
Contributor

Problem

Collections are lacking support for ttl_days and history_days.

Solution

Include these fields.

Result

Can manage collections with these fields via serverless config.

Out of Scope

n/a

Testing

Added tests.

"FQL v10 schema update complete",
];
verifyLogs(log, logs);
await verifyCollections(client, config.collections);
Copy link
Contributor

Choose a reason for hiding this comment

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

does this actually check that ttl_days is set on the created collection?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice catch - should be fixed now

Copy link
Contributor

@macmv macmv left a comment

Choose a reason for hiding this comment

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

looks good, i just want to make sure the tests are actually testing the right thing

@henryfauna henryfauna requested a review from macmv February 21, 2024 21:43
@henryfauna henryfauna merged commit d5c7c74 into main Feb 21, 2024
2 checks passed
@henryfauna henryfauna deleted the coll-fields branch February 21, 2024 22:09
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