Skip to content

Tidy up the use of raw_value #27

@kodonnell

Description

@kodonnell

As per #22 there's a bit of potential confusion around the semantics raw_value. That is, it could mean:

That's my bad. Realistically, it's only used for scaling decimal fields, so I think the answer here is to refactor the code so that a 'normal' FieldValue doesn't have all this scaling stuff. Maybe create a ScaledFieldValue? Need to think about that. Then ensure there's only one value thing per (Scaled)FieldValue (not two as we currently have value and raw_value).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions