Skip to content

Count is saved even when params are missing #5

@manuelmeurer

Description

@manuelmeurer

I noticed that a count is saved in Redis even if one or more of the required parameters are missing.
For example:

voncount.config:

{
  "foo": {
    "bar": [
      {
        "id": [
          "my_param",
          "year",
          "month",
          "day"
        ],
        "count": "baz"
      }
    ]
  }
}

Even if I leave out my_param from my request (/foo), a count is saved (bar_2014_08_23).
Wouldn't it make sense to not count anything unless all params are present?

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