Skip to content
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

Transient fields #21

Open
JonathanMace opened this issue Feb 15, 2017 · 0 comments
Open

Transient fields #21

JonathanMace opened this issue Feb 15, 2017 · 0 comments

Comments

@JonathanMace
Copy link
Member

JonathanMace commented Feb 15, 2017

Bags should support transient fields. Transient fields are omitted during serialization; that is, they only live within a single process.

Transient fields should behave like other fields -- eg they should be bags, and support merge/join

Since transient fields are not serialized, transient fields do not need a field number. They could be declared like:

int64 myregularid = 0;
int64 mytransientid = transient;

That's a little ugly but i think it'll do for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant