-
Notifications
You must be signed in to change notification settings - Fork 5
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
Determine payload value type based on enum #93
Labels
Comments
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 4, 2025
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 4, 2025
See OpenLEADR#93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com>
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 4, 2025
See OpenLEADR#93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com>
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 7, 2025
See OpenLEADR#93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com>
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 8, 2025
See OpenLEADR#93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com>
benjaminedwardwebb
added a commit
to benjaminedwardwebb/openleadr-rs
that referenced
this issue
Jan 8, 2025
See OpenLEADR#93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com>
@benjaminedwardwebb did a great job in #124 by validating if the type of the |
github-merge-queue bot
pushed a commit
that referenced
this issue
Jan 9, 2025
* Validate event payload values match their type See #93 Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com> * Allow all values for private value types Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com> --------- Signed-off-by: Ben Webb <benjaminedwardwebb@gmail.com> Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com> Co-authored-by: Maximilian Pohl <maximilian@tweedegolf.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the payloads in the intervals, the data type of the value is determined by the
type
of the payload.The VTN should make sure that the data type it expects for the provided
type
matches the one it received.openleadr-rs/openleadr-wire/src/event.rs
Lines 237 to 246 in a0d0128
The text was updated successfully, but these errors were encountered: