quicwg / qlog

The IETF I-D documents for the qlog format
Other
86 stars 13 forks source link

Enforce stricter extensibility for ProtocolEventData #401

Closed rmarx closed 4 months ago

rmarx commented 8 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 4 months ago

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