Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Why is the connection type having binary as the third element of its tuple? #89

Open
@dimitarvp

Description

@dimitarvp

When I am working with Sqlitex and opening connections, I always get a tri-tuple like the following:

{
  :connection,
  #Reference<0.1196713639.350486530.23370>,
  #Reference<0.1196713639.350617602.23368>
}

IMO the type should not be:

@type connection :: {:connection, reference, binary()}

but instead it should be:

@type connection :: {:connection, reference(), reference()}

Am I missing something obvious?

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