mlswg / mls-protocol Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistency between "optional that MUST contain a value when …" and selects #574
Comments
|
It seems like the |
|
Discussion on virtual interim:
|
|
I just looked at implementing this on top of #523, and it actually looked a little non-trivial. If we use That might not be terrible to implement, but it does mean that MLSMessageAuth is no longer independently parseable. No similar concerns about |
|
You are right… We maybe we could template Something like and But that might look a bit convoluted… |
|
Note that a structure with a similar problem already exists: With the same style, we could have: |
|
Note that independently of #523 we also have a similar problem for |
|
Fixed in #523 |
In the draft, we often need some value to be present in a structure under certain conditions.
Sometimes, it is done using an
optional<…>, and the prose says that it MUST contain a value under these conditions, e.g. for:confirmation_tagmembership_tagSometimes, it is done using a
select, e.g. for:GroupContextinMLSPlaintextTBSIt looks like we need to make a choice here.
The text was updated successfully, but these errors were encountered: