Skip to content

fix: describe converted model timestamps as integers - #342

Merged
stakach merged 1 commit into
masterfrom
fix/epoch-timestamp-schema-hints
Nov 18, 2026
Merged

stakach merged 1 commit into
masterfrom
fix/epoch-timestamp-schema-hints

Conversation

@stakach

@stakach stakach commented Nov 18, 2026

Copy link
Copy Markdown
Member

Edge heartbeat and Shortener validity timestamps serialize as nullable Unix-second integers. Pass the integer and Int64 hints through the same ORM attribute declarations as their converters so the generated schemas match the JSON payloads.

Regression specs cover the schemas and the serialized values. Both examples reproduced the mismatches on master and passed with this change.

Part of PlaceOS/rest-api#466.

@github-actions github-actions Bot added the type: bug something isn't working label Nov 18, 2026
@stakach
stakach merged commit fcde7b5 into master Nov 18, 2026
8 checks passed
@stakach
stakach deleted the fix/epoch-timestamp-schema-hints branch November 18, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant