You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add and resolve query projection for products and specs respectively (#97)
Co-authored-by: Sam rishi <sam.rishi@solitontech.local>
Co-authored-by: sam-rishi <155733081+sam-rishi@users.noreply.github.com>
Co-authored-by: Sam Rishi <sam.rishi@ni.com>
BREAKING CHANGE: Product and Specification models have been updated
to support projections.
- Product client changes--
- `models.Product` now defines all fields as Optional.
- `ProductClient.create_product`'s `products` parameter is now typed
as `models.CreateProductRequest`
- `ProductClient.update_product`'s `products` parameter is now typed
as `models.UpdateProductRequest`
- Specifications client changes--
- `models.Specification` and `models.SpecificationDefinition` now
define all fields as Optional.
- `models.QuerySpecifications` has been renamed `models.PagedSpecifications`
to better align to other clients.
- `models.CreateSpecificationeRequest.specs` is now typed as `models.CreateSpecificationsRequestObject`
instead of `models.SpecificationDefinition`
- `models.UpdateSpecificationeRequest.specs` is now typed as `models.UpdateSpecificationsRequestObject`
instead of `models.Specification`
0 commit comments