Repository navigation
feat: SDK update for version 30.2.0 - #88
Conversation
🔵 Tier A · Mergeable after minor fixes
This SDK update adds function interval scheduling parameters, exposes interval data on Function models, and adds the minimum supported interval to BillingPlan models. It also updates the version metadata and documents the new scheduling option.
Fix with agent prompt### Issue 1
src/Appwrite/Services/Functions.php:163-165
**Test interval request serialization**
The new interval parameter has no coverage in `FunctionsTest`; its create/update tests accept any request arguments and only assert the response model type. Those tests would still pass if this field were dropped or sent incorrectly, so please add an assertion for the interval in the request parameters.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 9
Reviewed |
| if (!is_null($interval)) { | ||
| $apiParams['interval'] = $interval; | ||
| } |
There was a problem hiding this comment.
Test interval request serialization
The new interval parameter has no coverage in FunctionsTest; its create/update tests accept any request arguments and only assert the response model type. Those tests would still pass if this field were dropped or sent incorrectly, so please add an assertion for the interval in the request parameters.
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/Appwrite/Services/Functions.php
Line: 163-165
Comment:
**Test interval request serialization**
The new interval parameter has no coverage in `FunctionsTest`; its create/update tests accept any request arguments and only assert the response model type. Those tests would still pass if this field were dropped or sent incorrectly, so please add an assertion for the interval in the request parameters.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · testing · Reply if this doesn't apply.
This PR contains updates to the SDK for version 30.2.0.
What's Changed
intervalparameter onfunctions.createandfunctions.updateto run a function every N minutesintervalon theFunctionmodel andfunctionsIntervalMinimumon theBillingPlanmodel