Skip to content

Prefix private API fields on the context object #12203

@gaearon

Description

@gaearon

Which of these are safe to read?
It's not obvious to me.

screen shot 2018-02-10 at 13 43 00

Even if we don't document the others, people will think they're all safe. We should prefix unsafe ones with underscores (or even longer prefixes like __internal).

Metadata

Metadata

Assignees

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