onflow / flow-go-sdk

Tools for building Go applications on Flow :ocean:
https://onflow.org
Apache License 2.0
212 stars 86 forks source link

Expose response metadata from access API responses #777

Closed peterargue closed 1 month ago

peterargue commented 1 month ago

This is part of #736.

All of the Access API endpoints include a metadata blob in the response that includes details about the access nodes from the time that the response was generated: https://github.com/onflow/flow/blob/master/protobuf/flow/entities/metadata.proto

Make this info available to users of the API.

I don't think the answer should be to include it as a member of every response struct. We will want to come up with a was to expose it that's convenient and doesn't create a ton of complexity or tech debt

peterargue commented 1 month ago

We're going to skip this work for now since we have not received any requests to add it and how it should be exposed is not clear