Skip to content

Make id internal with a getter to read it #170

Description

@maritz

Currently .id is a readable and writable property. This has lead to confusion and problems before.

The better way to deal with it is probably to make .id completely internal and only allow access via a getter.

Additional documentation is then required to describe how to have your own "secondary" id mechanism.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions