Skip to content

return declared InetAddress, WktString and Float types on-premise#133

Merged
Automation51D merged 1 commit into
mainfrom
fix/types
Jun 22, 2026
Merged

return declared InetAddress, WktString and Float types on-premise#133
Automation51D merged 1 commit into
mainfrom
fix/types

Conversation

@justadreamer

Copy link
Copy Markdown
Contributor

The on-premise engine declared InetAddress/WktString/Float on its typed getters (Ip, Areas, Latitude/Longitude) but returned String at runtime, throwing ClassCastException for consumers and diverging from the cloud engine. These getters now return the declared types.

Changes

  • On-premise scalar getters now produce InetAddress, WktString and Float, matching the generated interface and the cloud engine.
  • Values are wrapped from the existing native string accessor (and double for Float); no new abstract methods, so subclasses and binary compatibility are unaffected.

The on-premise engine declared `InetAddress`/`WktString`/`Float` on its typed getters (Ip, Areas, Latitude/Longitude) but returned `String` at runtime, throwing `ClassCastException` for consumers and diverging from the cloud engine. These getters now return the declared types.

## Changes
- On-premise scalar getters now produce `InetAddress`, `WktString` and `Float`, matching the generated interface and the cloud engine.
- Values are wrapped from the existing native string accessor (and double for `Float`); no new abstract methods, so subclasses and binary compatibility are unaffected.
@Automation51D Automation51D merged commit 1b7ace4 into main Jun 22, 2026
1 check passed
@Automation51D Automation51D deleted the fix/types branch June 22, 2026 23:13
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.

2 participants