Skip to content

Conversation

@yenkins-admin
Copy link

Add min_items validation to storage_ids field in AI Lake provisioning request.
https://gooddata-sandbox.atlassian.net/browse/DX-330
Problem P003: https://github.com/gooddata/gdc-nas/actions/runs/21868699246

In gdc-nas (CQ-1968), storage ID validation was added to ensure storageIds is not empty when provisioning AI Lake database instances. The backend now throws BadRequestException if empty.

This SDK change adds min_items: 1 validation to the ProvisionDatabaseInstanceRequest model to enforce the same constraint on the client side, providing early validation before API calls.

Add min_items validation to storage_ids field in ProvisionDatabaseInstanceRequest
to ensure at least one storage ID is provided. This aligns with the backend
validation that was added in CQ-1968 which throws BadRequestException for empty
storage IDs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant