Skip to content

Which field uniquely identifies a state? The "id" or the "name"? #664

Closed Answered by cdavernas
giorgosera asked this question in Q&A
Discussion options

You must be logged in to vote

@giorgosera My understanding of it is that state id is an obsolete artifact of a previous version of the spec. In Synapse and other runtimes, we uniquely identify states thanks to their name, which is a required property, and avoid the useless overhead for users that is to set the id property too, which is therefore useless.

@tsurdilo Can you please confirm/infirm? Shouldn't we do a PR for getting rid of that confusing property, anyways?

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@tsurdilo
Comment options

@tsurdilo
Comment options

@cdavernas
Comment options

@ricardozanini
Comment options

@tsurdilo
Comment options

Answer selected by giorgosera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants