quicwg / qlog

The IETF I-D documents for the qlog format
Other
84 stars 12 forks source link

Enforce stricter extensibility for ProtocolEventData #401

Closed rmarx closed 3 months ago

rmarx commented 7 months ago

Fixes #192.

Currently, $ProtocolEventData accepts just about anything, which makes it extensible but very useless for any real validation.

By not explicitly assigning the * text => any to the type in the main doc, we keep the extensibility, but improve validation capabilities.

This also properly adds the Generic and Simulation events to the $ProtocolEventData, which they really should have been from the start ;)

rmarx commented 3 months ago

Was subsumed by #417 (in a very similar fashion), closing without action.