Skip to content

Document how we handle dynamic properties #774

Open
@benkiel

Description

We have _get/set_base_something and _get/set_something for a reason (below). That reasoning should be in the documentation somewhere.

Reasoning from @typesupply:

The _get_base_something method calls the environment implementation _get_something. It then validates/normalizes the returned value before sending the value to the scripter.

Likewise, _set_base_something validates and normalizes the value from the scripter before passing it to the environment implementation _set_soemthing.

This makes sure that the scripter and the environment implementations don’t have to do any validation or normalization.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions