Skip to content

Add structured log for creator list query returning unexpected field types #404

@Chucks1093

Description

@Chucks1093

Summary
If a database migration changes a column type without updating the query mapping, the type mismatch is silently coerced or surfaces as a runtime error. A structured error-level log at the type mismatch detection point provides early warning before data corruption reaches clients.

Scope

  • identify where creator list query results are mapped to response types
  • add an error-level structured log when a field value does not match the expected type
  • include the field name, expected type, and received type in the log fields

Acceptance Criteria

  • a field type mismatch emits an error-level log with field name and type details
  • the log does not fire for correctly typed fields
  • the client response behavior for the mismatched field is unchanged

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions