Tags: Clever/wag
Tags
feat(gendb): add BatchGetItem support to gendb (GetArrayOf[Model]) (#528 ) * feat(gendb): add GetArrayOf[Model] to interface and DB dispatch templates * fix(gendb): move GetArrayOf dispatch after Delete, add blank line in interface * feat(gendb): add getArrayOf[Model] BatchGetItem implementation to table template * feat(gendb): add GetArrayOf[Model] test to tests template * fix(gendb): fix compositeValueFromArray to use correct model field path Pass the slice identifier as a prefix to attributeToModelValueNotPtr so it returns "ms[i].Name" rather than doing varname-then-CamelCase mangling that produced invalid field references like "ms[i].TypeVar" instead of "ms[i].Type". Removes now-unused utils import. * chore: regenerate samples with BatchGetItem support * test(gendb): add unit tests for compositeValue* and attributeToModelValueNotPtr * chore: bump version to v9.10.0 with BatchGetItem release notes * refactor(gendb): rename GetArrayOf to GetSliceOf * chore: regenerate samples * DD-1792 feat(gendb): auto-chunk GetSliceOf inputs at 100-item BatchGetItem limit (#529) * feat(gendb): auto-chunk GetSliceOf[Model] inputs at 100 items per BatchGetItem call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: regenerate samples with GetSliceOf chunking support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
feat(gendb): add BatchGetItem support to gendb (GetArrayOf[Model]) (#528 ) * feat(gendb): add GetArrayOf[Model] to interface and DB dispatch templates * fix(gendb): move GetArrayOf dispatch after Delete, add blank line in interface * feat(gendb): add getArrayOf[Model] BatchGetItem implementation to table template * feat(gendb): add GetArrayOf[Model] test to tests template * fix(gendb): fix compositeValueFromArray to use correct model field path Pass the slice identifier as a prefix to attributeToModelValueNotPtr so it returns "ms[i].Name" rather than doing varname-then-CamelCase mangling that produced invalid field references like "ms[i].TypeVar" instead of "ms[i].Type". Removes now-unused utils import. * chore: regenerate samples with BatchGetItem support * test(gendb): add unit tests for compositeValue* and attributeToModelValueNotPtr * chore: bump version to v9.10.0 with BatchGetItem release notes * refactor(gendb): rename GetArrayOf to GetSliceOf * chore: regenerate samples * DD-1792 feat(gendb): auto-chunk GetSliceOf inputs at 100-item BatchGetItem limit (#529) * feat(gendb): auto-chunk GetSliceOf[Model] inputs at 100 items per BatchGetItem call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: regenerate samples with GetSliceOf chunking support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
feat(gendb): add BatchGetItem support to gendb (GetArrayOf[Model]) (#528 ) * feat(gendb): add GetArrayOf[Model] to interface and DB dispatch templates * fix(gendb): move GetArrayOf dispatch after Delete, add blank line in interface * feat(gendb): add getArrayOf[Model] BatchGetItem implementation to table template * feat(gendb): add GetArrayOf[Model] test to tests template * fix(gendb): fix compositeValueFromArray to use correct model field path Pass the slice identifier as a prefix to attributeToModelValueNotPtr so it returns "ms[i].Name" rather than doing varname-then-CamelCase mangling that produced invalid field references like "ms[i].TypeVar" instead of "ms[i].Type". Removes now-unused utils import. * chore: regenerate samples with BatchGetItem support * test(gendb): add unit tests for compositeValue* and attributeToModelValueNotPtr * chore: bump version to v9.10.0 with BatchGetItem release notes * refactor(gendb): rename GetArrayOf to GetSliceOf * chore: regenerate samples * DD-1792 feat(gendb): auto-chunk GetSliceOf inputs at 100-item BatchGetItem limit (#529) * feat(gendb): auto-chunk GetSliceOf[Model] inputs at 100 items per BatchGetItem call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: regenerate samples with GetSliceOf chunking support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: add optional headers in requestOptions; generated sample files (#… …526) * feat: add optional headers in requestOptions; generated sample files * feat: update version * feat: use spread; updated samples --------- Co-authored-by: Dominic Garcia <dominic.garcia@Dominic-Garcias-MacBook-Pro-Y7C2C2R703.local>
feat: add optional headers in requestOptions; generated sample files (#… …526) * feat: add optional headers in requestOptions; generated sample files * feat: update version * feat: use spread; updated samples --------- Co-authored-by: Dominic Garcia <dominic.garcia@Dominic-Garcias-MacBook-Pro-Y7C2C2R703.local>
feat: add optional headers in requestOptions; generated sample files (#… …526) * feat: add optional headers in requestOptions; generated sample files * feat: update version * feat: use spread; updated samples --------- Co-authored-by: Dominic Garcia <dominic.garcia@Dominic-Garcias-MacBook-Pro-Y7C2C2R703.local>
PreviousNext