[policy, no patch] Explicitly cast all uses of database returned values

Created on 30 April 2024, 4 months ago

Problem/Motivation

Currently depending upon how a database connection is configured the following scenarios may occur:

  • Only strings will be returned
  • Integer like strings will be returned as integers, all other results returned as strings

Neither of these methods is guaranteed to match the intended use of the result.

Steps to reproduce

N/A

Proposed resolution

All new use of the database must explicitly cast to when the record is retrieved/used

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None

🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component
DatabaseΒ  β†’

Last updated less than a minute ago

  • Maintained by
  • πŸ‡³πŸ‡±Netherlands @daffie
Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024