yaq-project / yaq-python

Repository for yaq core python packages.
https://yaq.fyi
GNU Lesser General Public License v3.0
6 stars 5 forks source link

yaqc public api for accessing the avro protocol #5

Open untzag opened 2 years ago

untzag commented 2 years ago

Client programs may have reason to show information in the avro protocol.

for example a case brought by @dan.d.kohler of wanting to display the options for an enum type defined in the protocol.

Currently the only field we have as a public attribute is traits which is helpful, but perhaps insufficient.

We have private attributes for the protocol and the named types, that we could make public if we want. (named types being a map where the types from the protocol are a list)

other things we can consider: