Which field uniquely identifies a state? The "id" or the "name"? #664
-
Hi there, which of the two fields In the JSON schema here I can see that there is an However, when I go to the spec docs here I can see that the
Thank you very much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
@giorgosera My understanding of it is that state @tsurdilo Can you please confirm/infirm? Shouldn't we do a PR for getting rid of that confusing property, anyways? |
Beta Was this translation helpful? Give feedback.
@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 theirname
, which is a required property, and avoid the useless overhead for users that is to set theid
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?