Skip to content

AppEphemeral struct and description is inconsistent #76

@franziskuskiefer

Description

@franziskuskiefer

Unless I misunderstand something here, the text and proposal struct don't work together here.

The text first says

The content of an AppEphemeral proposal is the same as an `app_data_dictionary`
extension. The proposal type is set in {{iana-considerations}}.

but then defines the proposal as

struct {
ComponentID component_id;
opaque data<V>;
} AppEphemeral;

It then goes on to talk about ComponentData and app_data_dictionary.

An AppEphemeral proposal is invalid if it contains a `component_id` that is
unknown to the application, or if the `app_data_dictionary` field contains any
`ComponentData` entry whose `data` field is considered invalid by the
application logic registered to the indicated `component_id`.

Is the intention that

  1. the proposal really is equivalent to the AppDataDictionary struct? Then the AppEphemeral struct needs to be changed to this.
  2. or is the AppEphemeral struct correct, and the text should get updated?

Either would be fine, but option 2 makes more sense to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions