Skip to content

DATRA001 has no sanctioned path for what-if writes (knobs, scenarios) #18

Open

Description

@penspanic

The analyzer makes any assignment to a data class an error. Tools that apply a scenario to a forked copy (Datra.Lab knobs, curve knobs) need a sanctioned way to write. #17 works around it with ForkedData.Set(row, r => r.Fare, v).

Proposal: an explicit, analyzer-approved write API for forked/overlay contexts only (writes to a baseline context stay an error), and document it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions