Skip to content

Being explicit & switching off infering keys for handlers/middlewares #5

@RickMoynihan

Description

@RickMoynihan

I wonder if it might be possible to add an option e.g. :fully-qualified-keys true to turn key inference off in the ataraxy router config.

The reason I'd like this is when refactoring things you want to do a find/replace on the keys throughout the project, but because the keys in the router config are aliased, they get missed. Recently I was helping a new developer get up to speed and they'd done this, but this key got missed, and I found myself having to explain this, as an extra unintuitive convention, in addition to clojure's :: prefix and aliases via :as, as things to watch out for.

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