dims / etcd3-gateway

This repository is now read-only. Please see https://opendev.org/openstack/etcd3gw for the new location for this code.
https://opendev.org/openstack/etcd3gw
Apache License 2.0
10 stars 20 forks source link

No way to get important metadata #17

Open fasaxc opened 6 years ago

fasaxc commented 6 years ago

One issue that we found in writing our product using etcd3gw is that the methods don't return the metadata from the response "envelope". There are various cases where that information is needed:

Perhaps you could switch to a dedicated Response object that exposes the KVs and other metadata?

dims commented 6 years ago

@fasaxc the main consumer of this library is tooz. as long as we don't break tooz, we should be fine with making changes. would you be able to help with the changes?