Skip to content

Conversation

@mpartipilo
Copy link
Collaborator

Introduce mock HTTP handlers for unit testing, support for nested properties, and comprehensive tests for REST client operations. Improve error reporting and access modifiers in client classes. Update package versions and refactor PropertyHelper and ObjectHelper for better type handling and DTO conversions. Enhance PhoneNumber record with improved encapsulation and parsing methods. Support Blob property types.

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@mpartipilo mpartipilo changed the title Enhance testing infrastructure and improve error handling Nested Objects and ObjectArrays + Error mgmt Oct 31, 2025
@mpartipilo mpartipilo force-pushed the feat/nested-properties branch from dca9260 to 9b70738 Compare November 6, 2025 07:54
…perty support

- Introduced MockHttpMessageHandler and MockWeaviateClient for unit testing.
- Added TestNestedProperties for nested object handling in tests.
- Updated Property class to support nested properties and enhanced property factory methods.
- Improved PhoneNumber record with better encapsulation and parsing methods.
- Added comprehensive tests for REST client operations using mock infrastructure.
…t.ClientFactory, and Grpc.Net.Common to latest releases
…nd DTO conversions

- Enhanced PropertyHelper to support nested properties and collection types.
- Introduced DataTypeForCollectionType method for better handling of array types.
- Updated DataTypeForType method to streamline type resolution.
- Refactored ObjectHelper to handle GeoCoordinate and PhoneNumber conversions more efficiently.
- Added extension methods for converting models to DTOs and vice versa.
- Improved error handling for unsupported property types.
- Updated QueryClient to simplify object fetching logic.
- Enhanced gRPC result handling for date and phone number types.
@mpartipilo mpartipilo force-pushed the feat/nested-properties branch from cbd84af to af8db1b Compare November 10, 2025 12:49
@mpartipilo mpartipilo merged commit 7cb8365 into main Nov 10, 2025
14 checks passed
@mpartipilo mpartipilo deleted the feat/nested-properties branch November 10, 2025 17:04
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.

3 participants