🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

v6: Handle missing properties in ORM scanning - #472

Merged
bevzzz merged 4 commits into
v6from
v6-orm-polish
Sep 26, 2025
Merged

v6: Handle missing properties in ORM scanning#472
bevzzz merged 4 commits into
v6from
v6-orm-polish

Conversation

@bevzzz

@bevzzz bevzzz commented Sep 26, 2025

Copy link
Copy Markdown
Collaborator

When some properties are not returned in the query response, our ORM uses null as a default value for missing constructor arguments. This doesn't work in case of primitive data types, as they must have a concrete value.

Additionally some housekeeping.

Consistent with how setDouble() accepts a Double even though
the Weaviate's data type is number.
PropertyBuilder deals with Java data types so the methods
should be named accordingly.
@bevzzz bevzzz self-assigned this Sep 26, 2025

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

Copy link
Copy Markdown

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 Secrets high 0   medium 0   low 0   info 0 View in Orca

@bevzzz
bevzzz merged commit cf871eb into v6 Sep 26, 2025
2 of 3 checks passed
@bevzzz
bevzzz deleted the v6-orm-polish branch September 26, 2025 23:37
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