New issue
Advanced search Search tips

Issue 651711 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Consider making it possible to validate mojo structs without using StructTraits

Project Member Reported by dcheng@chromium.org, Sep 30 2016

Issue description

I don't think there's a clear need for this yet: right now, the code base is still in transition, so we're typemapping a lot of things.

However, in the future, this may change: once we've converted significant portions of the codebase over to Mojo, it may no longer be desirable to maintain C++ mirrors of mojo structs. At that point in time, we'll probably want a way to write validators without actually typemapping.
 
Components: -Internals>Mojo Internals>Mojo>Bindings
https://chromium-review.googlesource.com/c/chromium/src/+/1014464 is one instance where this would have been useful.
Cc: -roc...@chromium.org rockot@google.com
Cc: -yzshen@chromium.org
Labels: -Pri-3 Pri-2
Status: Available (was: Untriaged)
Triaging at medium priority. This is something I think we'd like to look at in 2019.

Sign in to add a comment