Skip to content

Change names of intToKey and keyToInt in Utils #2

@mightybyte

Description

@mightybyte

I know this is an API breaking change, but would you be willing to change the name of the intToKey and keyToInt functions in the Utils module? On multiple occasions I've been bitten by the problem of importing the Utils module instead of the Utils.Postgresql module and forgetting that those intToKey and keyToInt functions also need the proxy as an argument. When I make this mistake it usually takes me longer than it should to figure out the problem because I always think of those functions as single argument functions. If this has bitten me more than once I imagine it's probably likely to bite others in the future as well.

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