mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-15 01:16:09 +00:00
This change always serializes the version with the user so that we have this information for times when we need to make changes and deal with serialization changes. We do this in the authentication service because the user object is also serialized as part of the get users response and the StreamInput there will have the appropriate version set on it already and we do not need to add it in that case. Closes elastic/elasticsearch#1747 Original commit: elastic/x-pack-elasticsearch@a7ceece09c