Skip to content

presence: Removal of number key support in LatestMap in v2.80 #25919

@jason-ha

Description

@jason-ha

Broken API or pattern

Presence LatestMap key type inaccurately allows number type for keys and will be removed.

Preparation References

number keys have always been converted to strings at runtime and could never be enumerated. Any explicit specifications of number or literal number for Keys generic should be removed.

Packages

@fluidframework/presence

Expected Timeline

2.80

Metadata

Metadata

Assignees

Labels

breaking changeThis PR or issue would introduce a breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions