Skip to content

Do Min and Max do anything? #222

@pcolby

Description

@pcolby

If I do:

    {
      "TableSchema": "<redacted>",
      "TableName": "<redacted>",
      "ColumnName": "<redacted>",
      "DataType": "text",
      ...
      "IsNullable": true,
      "Processors": [
        {
          "Name": "RandomDigits",
          "Max": 4,
          "Min": 2,
          "Variance": 0,
          "Comment": ""
        }
      ]
    },

Then Gonymizer randomises the digits in the relevant column, but does not seem to apply Min and Max in any way. I've had a quick scan of the code, and can't see anywhere those parameters are being applied, but I'm also not a Go expert 😄

Thanks.

Metadata

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