Skip to content

Conversation

@oldergod
Copy link
Member

No description provided.

@oldergod oldergod force-pushed the bquenaudon.2020-11-13.oneofwip branch 7 times, most recently from 88eced9 to 5feef52 Compare November 13, 2020 18:20
@alecmuffett
Copy link

Very excited to see this, having some sort of "which field is active"-enum (rather than looking for a non-null field) is very interesting to me right now. ❤️

@oldergod oldergod force-pushed the bquenaudon.2020-11-13.oneofwip branch 2 times, most recently from c1ae1a9 to d164bc4 Compare November 13, 2020 18:51
@oldergod oldergod force-pushed the bquenaudon.2020-11-13.oneofwip branch from d164bc4 to 69e06ea Compare December 3, 2020 17:38
@oldergod oldergod force-pushed the bquenaudon.2020-11-13.oneofwip branch from 69e06ea to 93cc75a Compare December 9, 2020 16:02
@kimble
Copy link

kimble commented Jan 2, 2021

Nice! This is also super useful for logging, tracing and metrics

@oldergod oldergod closed this Jan 18, 2021
@oldergod oldergod deleted the bquenaudon.2020-11-13.oneofwip branch January 18, 2021 15:56

data class Key<R>(
val tag: Int,
val adapter: ProtoAdapter<R>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: figure out if we can have cycles in declarations for these

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(the same problem we have for maps)

@oldergod oldergod mentioned this pull request Feb 8, 2021
12 tasks
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

Successfully merging this pull request may close these issues.

5 participants