Hello!

Suppose team A produces data with the following schema:

struct Data {
  id @1 : Uint64;
  stuff @2: InternalData;
}

Now, team B consumes this data but doesn't want care about the "stuff" 
field, and team B does not want to include the schema files for 
InternalData. So in the consumer code, this schema is used instead:

struct Data {
  id @1: Uint64;
  stuff @2: Void; // Reserved for team A internal data.
}

Is this safe to do? If it's relevant, team A produces with C++ and team B 
consumes with Java.

(For the record, InternalData is not privacy sensitive or anything like 
that. I know that team B could peek into that struct even without the 
schema and reverse engineer).

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/52db7309-5771-4ba6-ad7d-490fb7078a83n%40googlegroups.com.

Reply via email to